ci: update to Node.js 26 and current GitHub Actions - #7246
Open
aetherloop wants to merge 1 commit into
Open
Conversation
Node.js 25 reached end-of-life on 2026-06-01, and the pinned GitHub Actions (checkout/setup-node/cache on node20) are deprecated on GitHub runners. - Bump the default Node.js used by CI from 25.6 to 26.x in the prepare composite action. - Update actions to their current major versions: checkout v4->v7, setup-node v4->v7, cache v4->v6, upload-artifact v4->v7, download-artifact v4->v8, github-script v6->v9, stale v6->v11. The minimum supported Node.js (18.x) and the integration test matrix are left unchanged. Closes yarnpkg#7235
|
Yarn add @yarnpkg/cli |
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.
What's the problem this PR addresses?
CI runs on Node.js 25, which reached end-of-life on 2026-06-01, and the workflows pin GitHub Actions (
actions/checkout@v4,actions/setup-node@v4,actions/cache@v4, etc.) that run on the deprecatednode20runtime. GitHub now force-runs them on newer Node and emits deprecation annotations.Closes #7235
How did you fix it?
25.6to26.xin thepreparecomposite action.checkoutv4→v7,setup-nodev4→v7,cachev4→v6,upload-artifactv4→v7,download-artifactv4→v8,github-scriptv6→v9,stalev6→v11.The minimum supported Node.js (
18.x) and the integration test matrix are intentionally left unchanged.Checklist