CI¶
Every check runs on the organisation's own runners: the boxd-public scale set for this public repository. No job uses a GitHub-hosted runner, and every action is pinned by commit.
The required check¶
ci is the one required check. It needs check and docs, runs even when one of them fails, and fails unless both succeeded: a skipped check would report a pass, so the aggregate tests both results itself.
| Job | Runs |
|---|---|
docs | mkdocs build --strict with the pinned requirements in docs/requirements.txt |
check | the whole gate: the pinned executable, lint, typecheck, the bundle and its freshness, the unit tests, conformance and fixtures, the host test, the pack check and the generated docs drift |
ci | the aggregate: fails unless check and docs both succeeded |
The gate is the same one a person runs locally with npm ci --ignore-scripts && npm run check; see Testing.
The other workflows¶
docsruns on a push tomasterand on a manual run. It builds the site strictly, and publishes it to GitHub Pages only from a push tomaster, never from a pull request or another branch. The master turns Pages on.releaseruns on a tagv*. It checks that the tag namespackage.json's version, runs the gate, writesnative.jsonfor the tag, packs the files, checks them againstSHA256SUMS, and creates the GitHub Release from them and the named native assets. Each sum names its file by bare name, so the check also passes in a folder a person downloads. See Release.nativeruns onmasteronly. It builds thegwsrelease files for every platform, attests them and uploads them as artifacts; it publishes nothing.
Pull requests¶
A pull request from a fork waits for approval before its jobs run. CI checks master and every pull request; it never pushes to a branch.