Skip to content

Standardize CI on the org shape - #1

Merged
nicodes merged 1 commit into
mainfrom
chore/standardize-ci
Aug 2, 2026
Merged

Standardize CI on the org shape#1
nicodes merged 1 commit into
mainfrom
chore/standardize-ci

Conversation

@nicodes

@nicodes nicodes commented Aug 2, 2026

Copy link
Copy Markdown
Member

Brings this repo onto the shape the rest of the organisation uses.

  • Build and Test become .github/actions/*, called from a one-job ci.yml. Job renamed buildci.
  • Toolchain from .mise.toml via jdx/mise-action, replacing oven-sh/setup-bun with the version written out in the workflow — bun was pinned in two places and only one is the one anybody edits.
  • Third-party actions SHA-pinned, timeout-minutes: 15.

One behavioural change

The no-JavaScript assertion now checks the tree:

find dist -name '*.js'

rather than grepping index.html for a <script src>. A bundle that's emitted but not yet referenced is still a runtime that arrived, and the emitting is the change worth catching.

Verified against a local build first — this site emits 0 .js files, so the stricter form passes today. I built all four -web repos and checked before switching any of them.

Preserved verbatim

This site's own assertions — how many pages it emits, and what else has to be on them — are unchanged. That's the part worth keeping per-repo, and it's what differs between the four.

Phase 5 of the standardization plan.

Build and Test become .github/actions/*, called as steps from a one-job
ci.yml -- the same shape the rest of the organisation uses. The job is
renamed build -> ci.

The toolchain now comes from .mise.toml via mise-action, rather than
oven-sh/setup-bun with the version written out in the workflow. bun was
pinned in two places and only one of them is the one anybody edits.

The no-JavaScript assertion now looks at the tree rather than grepping
index.html for a <script src>. A bundle that is emitted but not yet
referenced is still a runtime that arrived, and the emitting is the
change worth catching. Verified against a local build first: this site
emits zero .js files, so the stricter form passes today.

This site's own assertions -- how many pages it emits, and what else has
to be on them -- are preserved verbatim. That is the part worth keeping
per-repo.

Third-party actions pinned by SHA with the tag in a trailing comment,
and timeout-minutes on the job.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gdam-web Ready Ready Preview Aug 2, 2026 1:19am

@nicodes
nicodes merged commit 8a0ad35 into main Aug 2, 2026
3 checks passed
@nicodes
nicodes deleted the chore/standardize-ci branch August 2, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant