Skip to content

ci: run the web job on node 22 (matches local .nvmrc)#19

Merged
SecureCloudGroup merged 1 commit into
mainfrom
chore/node-22
Jul 10, 2026
Merged

ci: run the web job on node 22 (matches local .nvmrc)#19
SecureCloudGroup merged 1 commit into
mainfrom
chore/node-22

Conversation

@SecureCloudGroup

Copy link
Copy Markdown
Owner

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 use locally 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 engines field to update; no app/runtime change.

Verified locally on node 22.23.1: npm ci, npm run check 0/0, npm test 54, npm run build all pass. Config-only — SPA bundle unchanged.

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.
@SecureCloudGroup SecureCloudGroup merged commit c3db7b9 into main Jul 10, 2026
7 checks passed
@SecureCloudGroup SecureCloudGroup deleted the chore/node-22 branch July 10, 2026 21:51
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