Skip to content

CI

Every check runs on the organisation's boxd-public runner, because the repository is public. The code gate is the organisation's reusable plugin CI, called from .github/workflows/ci.yml, and the ci job is the one required check on master.

The jobs

Job What it does
plugin Calls the reusable plugin CI: plugin / check, plugin / docs, plugin / actionlint and plugin / install.
pack Installs Node 24 and checks the packed tarball the manifest names.
ci Needs plugin and pack, runs with if: always(), and fails unless every one succeeded.

A called workflow's checks report as <caller> / <callee>, so the calling job is plugin; the required check is the top-level ci aggregate. A skipped job never passes it: ci always runs and compares each needed job's result, so a failed or skipped job fails ci too.

The reusable plugin / check job:

  • checks out the repository and installs Node 24;
  • runs npm ci --ignore-scripts, with the contract resolving over HTTPS and no SSH key;
  • runs npm run lint, npm run typecheck, a bundle that must leave dist/ unchanged, npm test, npx --no-install plugin-kit check and npx --no-install plugin-kit docs --check.

plugin / docs builds the site with mkdocs build --strict and the pinned docs/requirements.txt. plugin / actionlint lints every workflow against the runner labels in .github/actionlint.yaml, and plugin / install installs the pushed commit in OpenCode 2.4.1. The pack job runs npm run pack, the one step the reusable does not run.

npm run check runs the same steps in the same order locally, and adds the pack check. A pull request from a fork waits for approval before the jobs run.

The site

.github/workflows/docs.yml calls the reusable docs publish workflow, which builds the site and publishes it to GitHub Pages. Its deploy job runs only on a push to master, so 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 calls the reusable plugin release workflow on a v* tag. It checks that the tag is on master and names the version in package.json, packs the release files and creates the non-draft GitHub release. Release has the steps.