Publish
How this repo ships the library and the docs site.
npm
.github/workflows/publish-npm.yaml runs on apex. It publishes @dragonmastery/playwemo from packages/playwemo when that package.json version is newer than npm. Auth is npm trusted publishing (OIDC) — workflow filename must be publish-npm.yaml.
The docs nav version badge is read from the same package.json at docs build time. Bumping the version also triggers a docs deploy.
Docs site
.github/workflows/deploy-docs.yml runs the same checks as PR CI, then tamer apply / tamer deploy to Cloudflare.
| Env | URL |
|---|---|
prod | https://playwemo.dragonmastery.com |
dev | https://dev.playwemo.dragonmastery.com |
First-time Cloudflare / token checklist: .maintainers/docs-site.md in the repo (not duplicated here).
bun run tamer -- apply --env prod
bun run tamer -- deploy --env prodPR CI
.github/workflows/ci.yml is pull requests only: bun run check and bun run docs:e2e. Headed video (docs:e2e:demo) is local — see Dogfood.