ci: run the web job on node 22 (matches local .nvmrc)#19
Merged
Conversation
Move off node 20 (EOL ~2026-04; 20.18.1 is what blocks vite 8). Pin the node version once in .nvmrc (22) and have CI read it via setup-node's node-version-file, so local (nvm use) and CI can't drift. Verified locally on node 22.23.1: npm ci, check 0/0, 54 tests, build all pass.
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.
Moves the web CI job from node 20 to node 22 LTS, matching the local dev environment.
.nvmrc(new, repo root):22— one source of truth;nvm uselocally and CI both read it.ci.yml:node-version: "20"→node-version-file: .nvmrc.Why: node 20 reaches EOL ~2026-04, and 20.18.1 is the version that blocks vite 8. This is also the prerequisite for eventually lifting the toolchain freeze (coordinated vite-8 upgrade). No
enginesfield to update; no app/runtime change.Verified locally on node 22.23.1:
npm ci,npm run check0/0,npm test54,npm run buildall pass. Config-only — SPA bundle unchanged.