ci: Use node.js 22 by default. Add initial support for node.js 24 (#16018)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-06-04 17:49:31 +02:00
committed by GitHub
parent 3bdbdfe6ce
commit 52a9d4b3d9
28 changed files with 135 additions and 125 deletions

View File

@@ -74,11 +74,11 @@ If you already have VS Code and Docker installed, you can click [here](https://v
#### Node.js
[Node.js](https://nodejs.org/en/) version 20.15 or newer is required for development purposes.
[Node.js](https://nodejs.org/en/) version 22.16 or newer is required for development purposes.
#### pnpm
[pnpm](https://pnpm.io/) version 9.1 or newer is required for development purposes. We recommend installing it with [corepack](#corepack).
[pnpm](https://pnpm.io/) version 10.2 or newer is required for development purposes. We recommend installing it with [corepack](#corepack).
##### pnpm workspaces
@@ -90,11 +90,11 @@ This automatically sets up file-links between modules which depend on each other
We recommend enabling [Node.js corepack](https://nodejs.org/docs/latest-v16.x/api/corepack.html) with `corepack enable`.
With Node.js v16.17 or newer, you can install the latest version of pnpm: `corepack prepare pnpm@latest --activate`. If you use an older version install at least version 9.15 of pnpm via: `corepack prepare pnpm@9.15.5 --activate`.
You can install the correct version of pnpm using `corepack prepare --activate`.
**IMPORTANT**: If you have installed Node.js via homebrew, you'll need to run `brew install corepack`, since homebrew explicitly removes `npm` and `corepack` from [the `node` formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/node.rb#L66).
**IMPORTANT**: If you are on windows, you'd need to run `corepack enable` and `corepack prepare pnpm --activate` in a terminal as an administrator.
**IMPORTANT**: If you are on windows, you'd need to run `corepack enable` and `corepack prepare --activate` in a terminal as an administrator.
#### Build tools