ci: upgrade Node.js to 26 (test job pinned to 24)#402
Conversation
Bump the default Node.js version across CI workflows to 26 now that it has been released. Drop multi-OS coverage for older Node and for vscode-test: - test job: only run Node 26 / stylelint 17 across ubuntu/macos/windows. Older Node versions (22, 24) run on ubuntu only since OS-specific issues in old Node versions almost always reproduce on ubuntu too. - vscode-test job: pin to Node 26. The extension host uses VS Code's bundled Node, so the runner's Node version does not affect tests. - release.yml: switch runner to ubuntu-24.04-arm to match other jobs.
|
The test job currently runs on Node 26, but libuv has a Node 26-specific issue (libuv/libuv#5010). Pin the test matrix to Node 22 and 24 until the upstream fix lands.
01d4819 to
f71e0f6
Compare
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions workflows to use Node.js 26 by default while keeping the main test matrix on Node 24 (with targeted Node 22 coverage) due to a referenced Windows libuv issue, and trims the test matrix to reduce CI usage.
Changes:
- Bump Node.js from 24 → 26 for
lint,build,check-generated-in-examples, andrelease. - Adjust
testmatrix to run Node 24 across all OSes, with Node 22 and Stylelint 16 runs on Ubuntu only. - Pin
vscode-testworkflow runs to Node 26 and simplify its matrix.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/release.yml | Switch release runner to ubuntu-24.04-arm and bump Node to 26 for release steps. |
| .github/workflows/ci.yml | Bump default CI Node to 26; trim test matrix and pin vscode-test to Node 26. |
| .github/workflows/check-generated-in-examples.yml | Bump Node to 26 for generated-example verification job. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| fail-fast: false | ||
| matrix: | ||
| node: [22, 24] | ||
| # NOTE: We would like to test with Node.js 26 as well, but we are limited to Node.js 24 due to test failures on Windows. |
Summary
testjob due to a libuv issue (libuv#5010); test on Node 22 and 24 instead.Changes
testjobvscode-testjobOther
lint,build, andcheck-generated-in-examplesjobs to Node 26.release.ymlrunner fromubuntu-latesttoubuntu-24.04-armto match other jobs.Test plan