ci: Update corepack before enabling it (no-changelog) (#13004)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-02-03 11:16:18 +01:00
committed by GitHub
parent 0063bbb30b
commit 18b6867785
18 changed files with 113 additions and 51 deletions

View File

@@ -85,7 +85,7 @@ 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 7.18 of pnpm via: `corepack prepare pnpm@7.18.0 --activate`.
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`.
**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).