Skip to content

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

Closed
@subir0071

Description

@subir0071

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions