workflows/
Code
- browser.yml
Runs a repository's browser checks,
pnpm run test:browser. It's a workflow besideci.yml, socistays the same in every repository and finishes first. Themainruleset doesn't require it.craftz statusandpnpm gonesay 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 namedci, 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.ymlnames. The job is namedlabel, a check themainruleset requires next toci. - release.yml
Merging a new
versioninpackage.jsonreleases it. The workflow checks the package, stages it on npm, then tags the merged commitvX.Y.Zand publishes a GitHub Release with the tarball. Nobody pushes a tag by hand. This file is the same in every package, copied from craftz'sreference/package/folder, so it names no package and reads everything frompackage.json.