[All OS] Default Node.js version changed from 20 to 22. Node.js 20 removed - #14046
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates runner image toolsets to remove Node.js 20 from preinstalled toolcache versions and move affected defaults from Node.js 20 to Node.js 22.
Changes:
- Removes
20.*from Node.js toolcache entries across Windows, Ubuntu, and macOS toolsets. - Updates Node.js default from
20/20.*to22/22.*for Ubuntu 22.04, Ubuntu 24.04, macOS 14, and Windows 2022. - Leaves images already defaulting to Node.js 22 or 24 unchanged except for removing Node.js 20 from toolcache lists.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
images/windows/toolsets/toolset-win-11-vs2026-arm64.json |
Removes Node.js 20 from Windows 11 Arm64 VS2026 toolcache. |
images/windows/toolsets/toolset-win-11-arm64.json |
Removes Node.js 20 from Windows 11 Arm64 toolcache. |
images/windows/toolsets/toolset-2025.json |
Removes Node.js 20 from Windows 2025 toolcache. |
images/windows/toolsets/toolset-2025-vs2026.json |
Removes Node.js 20 from Windows 2025 VS2026 toolcache. |
images/windows/toolsets/toolset-2022.json |
Removes Node.js 20 from toolcache and changes Windows 2022 default to Node.js 22. |
images/ubuntu/toolsets/toolset-2404.json |
Removes Node.js 20 from toolcache and changes Ubuntu 24.04 default to Node.js 22. |
images/ubuntu/toolsets/toolset-2204.json |
Removes Node.js 20 from toolcache and changes Ubuntu 22.04 default to Node.js 22. |
images/macos/toolsets/toolset-26.json |
Removes Node.js 20 from macOS 26 x64 and arm64 toolcache lists. |
images/macos/toolsets/toolset-15.json |
Removes Node.js 20 from macOS 15 x64 and arm64 toolcache lists. |
images/macos/toolsets/toolset-14.json |
Removes Node.js 20 from toolcache and changes macOS 14 default to Node.js 22. |
v-SergeiRadich
approved these changes
May 15, 2026
v-AndriiKhyliuk
approved these changes
May 15, 2026
dwydler
added a commit
to wydler/runner-images-hetzner-cloud
that referenced
this pull request
May 21, 2026
…moved (actions#14046) (#322) * Remove Node.js 20 (EOL 2026-04-30), update default to 22 * Remove Node.js 20 from Ubuntu 26.04 toolcache
This was referenced Aug 18, 2026
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.
Description
Improvement / Bug fixing
Remove Node.js 20 from all runner images and update the default Node.js version to 22 on images where Node.js 20 was the default.
Node.js 20 reached end-of-life on April 30, 2026. This change:
20.*from the toolcache versions list in all toolset JSON files across Ubuntu, macOS, and Windows images20to22on images where Node.js 20 was the default (ubuntu-22.04,ubuntu-24.04,macos-14,windows-2022)20.*removed from toolcache)After this change, only Node.js 22 and 24 remain pre-installed in the toolcache.
ubuntu-22.04ubuntu-24.04ubuntu-slimmacos-14macos-15macos-26windows-2022windows-2025windows-2025-vs2026windows-11-arm64Related issue:
Check list