Skip to content

[Ubuntu 22.04 and Windows 2022] Default Nodejs version will be set to 20 on 2025-06-02 #12143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 of 13 tasks
subir0071 opened this issue May 5, 2025 · 3 comments
Open
4 of 13 tasks

Comments

@subir0071
Copy link
Contributor

subir0071 commented May 5, 2025

Breaking changes

We are going to set Nodejs 20 as the default version across all VM images.

Target date

Image deployment is starting on 2025-06-02 and will take 3-4 days.

The motivation for the changes

Node.js 18 is End of life. Hence, it should be used as the default version in the runner images.

Possible impact

If your builds depend on the default Nodejs 18 they can be broken.

Platforms affected

  • Azure DevOps
  • GitHub Actions

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Mitigation ways

The recommended way is to pin your workflow to the desired nodejs version using:

https://github.com/actions/setup-node action for GH
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/node-js?view=azure-devops for AzDO

@subir0071 subir0071 self-assigned this May 5, 2025
@subir0071 subir0071 changed the title [all OSs] Default Nodejs version will be set to 20 on 2025-06-02 [Ubuntu 22.04 and Windows 2022] Default Nodejs version will be set to 20 on 2025-06-02 May 5, 2025
@hemanthmanga
Copy link
Contributor

#12129

@MikeMcC399
Copy link

@subir0071

The motivation for the changes

Node.js 18 is End of life. Hence, it should be used as the default version in the runner images.

This is a typo. It should say something like

Hence, it should not be used as the default version in the runner images.

OR

Hence, it should no longer be used as the default version in the runner images.

otherwise it doesn't make sense in the context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@subir0071 @MikeMcC399 @vidyasagarnimmagaddi @hemanthmanga and others