prose

workflows/

Code

  • browser.yml

    Runs a repository's browser checks, pnpm run test:browser. It's a workflow beside ci.yml, so ci stays the same in every repository and finishes first. The main ruleset doesn't require it. craftz status and pnpm gone say how the latest run ended, and a failed run keeps its Playwright report for a week, to open the trace.

  • ci.yml

    Checks every pull request with pnpm run verify, the script a site's deploy and a package's release run first too. The job is named ci, the check that branch protection requires.

  • label.yml

    A package's release notes are grouped by the label on each pull request, so a pull request without one can't merge. The labels are the ones .github/notes.yml names. The job is named label, a check the main ruleset requires next to ci.

  • release.yml

    Merging a new version in package.json releases it. The workflow checks the package, stages it on npm, then tags the merged commit vX.Y.Z and publishes a GitHub Release with the tarball. Nobody pushes a tag by hand. This file is the same in every package, copied from craftz's reference/package/ folder, so it names no package and reads everything from package.json.