Repository navigation
ci: test on the latest stable Node only - #213
Merged
Merged
Conversation
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
enabled auto-merge
October 3, 2026 03:32
thomasfosterau
disabled auto-merge
October 3, 2026 04:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.ymlcollapses the[20.x, 22.x]matrix to a single job and drops the steps that only existed for the matrix:The header comment now names the single required check.
.github/actions/setup/action.ymlchanges thenode-versiondefault from22.xtolatest. 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 againstSHASUMS256.txt, and put it first onPATH. Each gate started from a freshnode_modules, installed the way CI does:pnpm install --frozen-lockfile --ignore-scripts+pnpm run prepare: passvp run build(--no-cache): passvp check: pass (0 errors; the existing warn-tier lint debt is unchanged)vp run check(--no-cache; sources, type-level tests, examples, emitted declarations): passvp run -r test:unit(--no-cache): pass (1931 + 41 + 38 + 51 tests)vp run docgen(--no-cache): passpnpm audit --audit-level high: pass (no known vulnerabilities)fallow audit --base origin/main(--format json --quiet --explain --gate-marker agent): verdictpassNothing 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.
.changeset/for every change to published behaviour (not applicable)Notes
mainruleset 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.latest, because it inherits the action's default.🤖 Generated with Claude Code
Generated by Claude Code