Skip to content

CI

Every check runs in .github/workflows/ci.yml on the organisation's boxd-public runner, because the repository is public. The ci job is the one required check on master, and it fails closed.

The jobs

Job What it does
docs Builds the docs site with mkdocs build --strict and the pinned docs/requirements.txt.
check Installs Node 24 and actionlint, fetches the contract over HTTPS, and runs the whole gate.
ci Needs docs and check, runs with if: always(), and fails unless both succeeded.

A skipped job never passes the required check. The ci aggregate always runs and compares each needed job's result, so a failed or skipped docs or check fails ci too.

The check job:

  • checks out the repository and installs Node 24;
  • points the contract's Git dependency at HTTPS, because a runner has no SSH key;
  • installs actionlint 1.7.12 and puts it on PATH;
  • runs npm ci --ignore-scripts;
  • runs npm run bundle && git diff --exit-code dist/;
  • runs npm run check.

npm run check runs the same code steps locally. A pull request from a fork waits for approval before the jobs run.

The site

.github/workflows/docs.yml builds the site and publishes it to GitHub Pages on a push to master. The deploy job runs only when the event is a push and the ref is refs/heads/master; it needs build and runs in the github-pages environment. A manual run from another branch builds the site without publishing it. Pages must be on for the repository, which is a repository setting.

Release

.github/workflows/release.yml runs on a v* tag. It checks that the tag names the version in package.json, runs the gate, packs the release files, checks them against SHA256SUMS and creates the GitHub release. Release has the steps.