esbuild
esbuild copied to clipboard
fix: install corepack from npm
Corepack is not going to be distributed with Node.js v25+ TSC vote https://github.com/nodejs/TSC/pull/1697#issuecomment-2737093616
This PR updates the command to globally installing corepack.
Sorry, I don't fully understand. How did this come up? This CI script has been running fine and doesn't appear to be failing.
How did this come up?
Corepack is going to be removed from Node.js v25+ in future, and the recommendation is to install it from npm. It's not failing now, but will fail in v25+ in future.