ci: update Node 20 to Node 22 LTS - #155
Merged
Merged
Conversation
Author
|
@claude please review |
ralph-bitgo
Bot
force-pushed
the
fix/node-20-eol-ci
branch
from
September 7, 2026 13:18
0ba5771 to
07cbaa0
Compare
Node 20 reached end of life in April 2026, so CI jobs ran on an unsupported runtime. Bump both CI jobs (unit-test, lint) to Node 22 LTS and actions/setup-node v3 to v4 (v3 runs on the deprecated node16 runner runtime). Ticket: SCAAS-11269 Signed-off-by: sachuabraham@bitgo.com <sachuabraham@bitgo.com> Session-Id: 0edd029f-e0a7-4339-b636-b8c7a863bcbe Task-Id: 315b5f51-d93a-44b2-afd5-a074a5702cb7
ralph-bitgo
Bot
force-pushed
the
fix/node-20-eol-ci
branch
2 times, most recently
from
September 7, 2026 13:20
3f7e428 to
5a07568
Compare
sachushaji
approved these changes
Sep 7, 2026
sachushaji
marked this pull request as ready for review
September 7, 2026 13:42
sachushaji
enabled auto-merge
September 7, 2026 13:42
the-smooth-operator
approved these changes
Sep 7, 2026
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
Node 20 reached end of life in April 2026, so CI was running unit tests and lint on an unsupported runtime. This updates both CI jobs (
unit-test,lint) in.github/workflows/ci.ymlto Node 22 LTS, and bumpsactions/setup-nodefrom v3 to v4 (v3 runs on GitHub's deprecated node16 runner runtime).Closes SCAAS-11269.
Decision log
engines(>=20.19.0) and all dependencies are known-compatible. Node 24 is available if the team prefers the newest LTS; trivial follow-up.actions/setup-nodev3 → v4 — v3 runs on the deprecated node16 runner runtime and GitHub warns against it; v4 is the current major. Included since it is the same workflow line and carries no behavior change beyond the runtime.package.jsonenginesorCLAUDE.md—engines: >=20.19.0remains valid for Node 22, and changing the local dev baseline is developer-facing scope beyond this ticket.Test evidence
Verified locally on Node v22.23.2 (via nix):
npm ci— clean install.npm test— 207 passing (6s).npm run lint—eslint .andhardhat checkboth clean.CI on this PR will exercise the updated workflow itself.
Open questions
None.