Skip to content

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

  • docs runs on a push to master and on a manual run. It builds the site strictly, and publishes it to GitHub Pages only from a push to master, never from a pull request or another branch. The master turns Pages on.
  • release runs on a tag v*. It checks that the tag names package.json's version, runs the gate, writes native.json for the tag, packs the files, checks them against SHA256SUMS, 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.
  • native runs on master only. It builds the gws release 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.