devops: use node lts/* for non-test workflows#41716
Merged
Merged
Conversation
Track the current LTS via `lts/*` rather than pinning a specific major. The current LTS (node 24) bundles npm >= 11.5.1, so OIDC publishing keeps working without a separate npm upgrade step.
Track the current LTS in publish, roll, triage, report and infra workflows instead of pinning specific node majors. Test workflows keep their explicit versions since they exercise node compatibility.
This job commits package-lock.json. Writing it with a newer npm (from lts/*) can churn the lockfile against contributors running an older npm locally, so pin the node major instead.
The repo pins no local node/npm baseline (no .nvmrc/packageManager), so there is no canonical npm to match; keep this workflow consistent with the other non-test workflows on lts/*.
dgozman
approved these changes
Jul 9, 2026
pavelfeldman
approved these changes
Jul 9, 2026
Contributor
Test results for "MCP"2 failed 7733 passed, 1248 skipped Merge workflow run. |
Contributor
Test results for "tests 1"2 flaky49514 passed, 1161 skipped Merge workflow run. |
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.
Summary
node-version: lts/*so they track the current LTS instead of pinning specific node majors: publish (release, extension, docker), roll (browser, nodejs, stable test runner), fix-flakes, triage, report, infra and copilot setup.tests_*.yml) are left untouched since they deliberately pin node versions to exercise compatibility across majors.