Skip to content

Update Node.js to include upgraded Corepack #11608

@illright

Description

@illright

Tool name

Node

Tool license

MIT

Add or update?

  • Add
  • Update

Desired version

18.20.7, 20.18.3, 22.14.0

UPD: turns out, Node 20 still doesn't have Corepack 0.31, tracked here: nodejs/corepack#627

Approximate size

No response

Brief description of tool

There's been an incident with Corepack due to key rotation that caused all workflows using actions/setup-node to fail (see actions/setup-node#1222). The workaround mentioned there is to change the workflow file to either upgrade Corepack manually or avoid using Corepack altogether, however, it is no longer necessary as the Node.js team has released updates for all LTS versions that include the upgraded Corepack.

https://github.com/nodejs/node/releases

The workflows are still failing because runners use cached versions of Node which do not include this upgrade yet. Could you please bump the cached versions so that workflows can start passing again without any changes to them?

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • 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

Can this tool be installed during the build?

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions