Skip to content

[All OS] Default Node.js version changed from 20 to 22. Node.js 20 removed - #322

Merged
dwydler merged 1 commit into
customizefrom
2495626
May 21, 2026
Merged

dwydler merged 1 commit into
customizefrom
2495626

Conversation

@dwydler

@dwydler dwydler commented May 21, 2026 •

Copy link
Copy Markdown
Collaborator

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:

  • Removes 20.* from the toolcache versions list in all toolset JSON files across Ubuntu images
  • Updates the default Node.js version from 20 to 22 on images where Node.js 20 was the default (ubuntu-22.04, ubuntu-24.04)
  • Images that already had Node.js 22 or 24 as the default are not affected (only 20.* removed from toolcache)

After this change, only Node.js 22 and 24 remain pre-installed in the toolcache.

Image Previous default New default
ubuntu-22.04 20 22
ubuntu-24.04 20 22
ubuntu-slim 24 24 (unchanged)

Related issue:

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

…moved (actions#14046)

* Remove Node.js 20 (EOL 2026-04-30), update default to 22

* Remove Node.js 20 from Ubuntu 26.04 toolcache
@dwydler dwydler self-assigned this May 21, 2026
@dwydler dwydler added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels May 21, 2026
@runner-images-hetzner-cloud

Copy link
Copy Markdown

Super-linter summary

Language Validation result
JSON Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@dwydler
dwydler marked this pull request as ready for review May 21, 2026 12:30
@dwydler
dwydler merged commit 3b46b16 into customize May 21, 2026
4 checks passed
@dwydler
dwydler deleted the 2495626 branch May 21, 2026 12:31
@dwydler
dwydler restored the 2495626 branch May 21, 2026 15:20
@dwydler
dwydler deleted the 2495626 branch May 21, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants