From 0675a0ef71c7018db474d868cfb04de867610262 Mon Sep 17 00:00:00 2001 From: Vlad Durnea Date: Sat, 31 Oct 2026 09:03:52 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20pnpm=20via=20npm=20-g=20=E2=80=94=20Node?= =?UTF-8?q?=2025=20distributions=20no=20longer=20bundle=20corepack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 86c3684..783b4a6 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ name: better-setup-node -description: Install a pinned musl Node from the official unofficial-builds (glibc builds cannot exec on musl runners) and optionally activate a pinned pnpm via corepack. +description: Install a pinned musl Node from the official unofficial-builds (glibc builds cannot exec on musl runners) and optionally install a pinned pnpm via npm (Node 25 dropped bundled corepack). inputs: node-version: description: Exact Node version to install (e.g. 22.14.0). @@ -30,7 +30,7 @@ runs: fi node --version if [ -n "$pv" ]; then - corepack enable - corepack prepare "pnpm@${pv}" --activate + # Node 25 dropped bundled corepack; npm ships with every distribution. + npm install -g "pnpm@${pv}" pnpm --version fi