Skip to content

ci: upgrade default Node.js to 26 and trim test matrix#402

Draft
mizdra wants to merge 9 commits into
mainfrom
ci/upgrade-to-node-26
Draft

ci: upgrade default Node.js to 26 and trim test matrix#402
mizdra wants to merge 9 commits into
mainfrom
ci/upgrade-to-node-26

Conversation

@mizdra
Copy link
Copy Markdown
Owner

@mizdra mizdra commented May 16, 2026

Summary

  • Bump the default Node.js version across CI workflows to 26 now that it has been released.
  • Trim the test matrix to reduce resource usage on combinations with little marginal value.

Changes

test job

  • Run on all 3 OSes (ubuntu / macos / windows) only for Node 26 / stylelint 17.
  • Run Node 22 / 24 (stylelint 17) on ubuntu only.
  • Continue running Node 26 / stylelint 16 on ubuntu only.
  • Rationale: OS-specific issues that only reproduce on old Node × macOS/Windows are very rare; in nearly all cases the same issue also reproduces on ubuntu and can be caught there. Keeping the rarely-useful combinations isn't worth the CI resources.

vscode-test job

  • Pin to Node 26.
  • Rationale: The VS Code extension host runs tests with the Node.js bundled into VS Code, so the runner's Node.js version does not affect the tests.

Other

  • Bump lint, build, and check-generated-in-examples jobs to Node 26.
  • Switch release.yml runner from ubuntu-latest to ubuntu-24.04-arm to match other jobs.

Test plan

  • Confirm CI passes

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.
@mizdra mizdra added the Type: CI Changes to CI configuration files and scripts label May 16, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 16, 2026

⚠️ No Changeset found

Latest commit: 01d4819

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: CI Changes to CI configuration files and scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant