Skip to content

Run CI on Node 24 - #88

Merged
troberts-28 merged 2 commits into
mainfrom
fix/release-workflow-node-24
Aug 31, 2026
Merged

troberts-28 merged 2 commits into
mainfrom
fix/release-workflow-node-24

Conversation

@troberts-28

@troberts-28 troberts-28 commented Aug 31, 2026 •

Copy link
Copy Markdown
Owner

What

  • Moves both workflows from Node 20 to Node 24, and adds a matching .nvmrc.

Why

  • The v2.7.0 publish aborted: npm install -g npm@latest now resolves to npm@12, which requires node ^22.22.2 || ^24.15.0 || >=26.0.0. The step can't be dropped, since OIDC trusted publishing needs npm >= 11.5.1 and Node 20 ships 10.8.2.
  • Node 20 went EOL on 2026-04-30; Node 24 is LTS until 2028-04-30.

troberts-28 and others added 2 commits August 31, 2026 22:51
`npm install -g npm@latest` now resolves to npm@12, which requires node
^22.22.2 || ^24.15.0 || >=26.0.0, so the v2.7.0 release aborted on Node 20
before reaching build or publish. The step can't just be dropped: OIDC
trusted publishing needs npm >= 11.5.1 and Node 20 ships 10.8.2.

Node 20 also went EOL on 2026-04-30. Node 24 is LTS until 2028-04-30.

Verified locally on 24.20.0: npm@latest installs (12.0.2), yarn install,
yarn build and 380 tests all pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014JJ2weaFu4jhu2XirMkbWe
Node 20 went EOL on 2026-04-30. unit-test.yml wasn't broken by the npm@12
engine bump the way release.yml was, but there's no reason to keep testing
on an unsupported runtime once the release job has moved.

.nvmrc aligns local dev with CI. Bare major so nvm tracks the latest 24.x,
matching `node-version: 24`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014JJ2weaFu4jhu2XirMkbWe
@troberts-28 troberts-28 changed the title Run the release workflow on Node 24 Run CI on Node 24 Aug 31, 2026
@troberts-28
troberts-28 merged commit 2dbd5a1 into main Aug 31, 2026
1 check passed
@troberts-28
troberts-28 deleted the fix/release-workflow-node-24 branch August 31, 2026 22:12
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