Skip to content

ci: migrate runners to Node.js (ACTIVE) 24 and bump nrwl/nx-set-shas to v5.0.1#36249

Draft
Hotell wants to merge 1 commit into
microsoft:masterfrom
Hotell:ci/migrate-node-24
Draft

ci: migrate runners to Node.js (ACTIVE) 24 and bump nrwl/nx-set-shas to v5.0.1#36249
Hotell wants to merge 1 commit into
microsoft:masterfrom
Hotell:ci/migrate-node-24

Conversation

@Hotell
Copy link
Copy Markdown
Contributor

@Hotell Hotell commented May 26, 2026

Summary

Bumps CI runtime from Node.js 22 → 24 (current Active LTS) and resolves the GitHub Actions deprecation warning for the Node 20-based nrwl/nx-set-shas action.

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: nrwl/nx-set-shas@826660b… Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026.

Changes

  • GitHub Actions workflowsactions/setup-node node-version bumped 2224 (10 workflow files).
  • nrwl/nx-set-shas — pinned SHA 826660b… (v4.3.3, Node 20) → afb73a62d26e41464e9254689e1fd6122ee683c1 (v5.0.1, Node 24 runtime). 7 occurrences across 6 workflows.
  • Composite action .github/actions/run-publish-vr-screenshot/action.ymlnode-version: '20''24', actions/setup-node@v4@v6, and nrwl/nx-set-shas@v4 floating tag → pinned v5.0.1 SHA. (Currently unused but kept in sync.)
  • Azure DevOps.devops/templates/tools.yml UseNode@1 version: '22.x''24.x' (single edit propagates to every azure-pipelines.*.yml consuming this template).
  • Docs.github/instructions/copilot.instructions.md Node.js Versions line updated to ^22.0.0 || ^24.0.0 and notes CI runs on Node.js 24 (current Active LTS).

Out of scope

  • engines.node in root + packages/web-components/package.json already allows ^22.0.0 || ^24.0.0 — kept as-is so local devs on 22 are unaffected.

Verification

grep -rnE "node-version: '?(22|20)'?|version: '22\.x'|nx-set-shas@(826660b|v4)\b" .github .devops
# → no matches

After merge, the "Node.js 20 actions are deprecated" warning should disappear from CI runs and setup-node logs should show v24.

- Bump actions/setup-node node-version from 22 → 24 across all GitHub
  Actions workflows and the run-publish-vr-screenshot composite action.
- Pin nrwl/nx-set-shas to v5.0.1 (afb73a62…); v5 ships a Node 24 runtime
  and resolves the GitHub deprecation warning for Node 20 JS actions.
- Bump UseNode@1 in .devops/templates/tools.yml from 22.x → 24.x, which
  propagates to every azure-pipelines.*.yml that consumes the template.
- Align legacy actions/setup-node@v4 → @v6 in the composite action.
- Update copilot.instructions.md to note CI runs on the current Active
  LTS (Node.js 24) while engines still allow 22 || 24.
@Hotell Hotell changed the title ci: migrate runners to Node.js 24 and bump nrwl/nx-set-shas to v5.0.1 ci: migrate runners to Node.js (ACTIVE) 24 and bump nrwl/nx-set-shas to v5.0.1 May 26, 2026
@Hotell Hotell added the CI label May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant