Skip to content

ci: test on the latest stable Node only - #213

Merged
thomasfosterau merged 1 commit into
trunkfrom
issue-211-ci-node-latest
Oct 3, 2026
Merged

thomasfosterau merged 1 commit into
trunkfrom
issue-211-ci-node-latest

Conversation

@thomasfosterau

Copy link
Copy Markdown
Owner

Summary

CI now runs once, on the latest stable Node.js (node-version: latest, Node 26 today). This follows the owner decision recorded in #211.

  • .github/workflows/ci.yml collapses the [20.x, 22.x] matrix to a single job and drops the steps that only existed for the matrix:

    • the Node-switch and bin re-expose steps that ran on every row except 22.x;
    • the 22.x-only condition on the audit step;
    • the Node line in the task-cache key.

    The header comment now names the single required check.

  • .github/actions/setup/action.yml changes the node-version default from 22.x to latest. CI and Release both use the action without overriding it, so no workflow in .github/ pins 20.x or 22.x any more.

  • CONTRIBUTING.md (the CI paragraph and the library-template row) is updated to match.

  • engines.node (>=22) and the README/CONTRIBUTING "Node.js 22 or newer" requirement are unchanged, as the issue asks.

Closes #211

Verification

I ran every gate locally on Node v26.10.0, the current latest. I downloaded the official linux-x64 tarball, checked it against SHASUMS256.txt, and put it first on PATH. Each gate started from a fresh node_modules, installed the way CI does:

  • pnpm install --frozen-lockfile --ignore-scripts + pnpm run prepare: pass
  • vp run build (--no-cache): pass
  • vp check: pass (0 errors; the existing warn-tier lint debt is unchanged)
  • vp run check (--no-cache; sources, type-level tests, examples, emitted declarations): pass
  • vp run -r test:unit (--no-cache): pass (1931 + 41 + 38 + 51 tests)
  • vp run docgen (--no-cache): pass
  • pnpm audit --audit-level high: pass (no known vulnerabilities)
  • fallow audit --base origin/main (--format json --quiet --explain --gate-marker agent): verdict pass

Nothing broke on Node 26, so this PR has no code fixes.

Changeset

None. The change is CI-only and doesn't touch the published package.

  • A changeset under .changeset/ for every change to published behaviour (not applicable)

Notes

  • Owner action, needed before this can merge: the main ruleset requires "Lint, type-check, build & test (20.x)" and "(22.x)". With the matrix gone, the only check is "Lint, type-check, build & test", so neither required check will report on this PR. Rename the required checks in the ruleset to that name.
  • Release now also runs on latest, because it inherits the action's default.

🤖 Generated with Claude Code


Generated by Claude Code

Collapse the [20.x, 22.x] matrix to one job on `node-version: latest`
(Node 26 today) and make `latest` the setup action's default, so CI and
Release run on the same line as every other repository in the
programme. Drops the 20.x-only Node switch and bin re-expose steps and
the 22.x-only audit condition; the task-cache key no longer carries a
Node line. `engines.node` is unchanged.

The required check becomes "Lint, type-check, build & test"; the main
ruleset must be renamed to it (owner action).

Closes #211

Co-Authored-By: Claude <noreply@anthropic.com>
@thomasfosterau
thomasfosterau merged commit 28f0941 into trunk Oct 3, 2026
1 check passed
@thomasfosterau
thomasfosterau deleted the issue-211-ci-node-latest branch October 3, 2026 04:26
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.

ci: test on the latest stable Node only

2 participants