From 07ad39cba4004e658eb07a6afd3f12ac49660734 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Sun, 10 May 2026 23:41:39 +0200 Subject: [PATCH] refactor: scope pm_on_fail override to the no-target-version branch Only export `pnpm_config_pm_on_fail=download` when the action is relying on bootstrap pnpm's runtime switch. When the user passes an explicit `version:` input, self-update aligns the binary and we should not silently override their `devEngines.packageManager.onFail = "error"` policy. --- dist/index.js | Bin 1384773 -> 1384773 bytes src/install-pnpm/run.ts | 12 ++++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4164ba5cd735d9e2faac217a7b31cc552648708f..dc6bc8785e61537fc8ea727349151e1309278c7c 100644 GIT binary patch delta 68 zcmV~$$qj%Y5J1t0`!a~jRAU71~8~d|uIAekJP}V*mgE diff --git a/src/install-pnpm/run.ts b/src/install-pnpm/run.ts index b8c3e6f..ffcf3b8 100644 --- a/src/install-pnpm/run.ts +++ b/src/install-pnpm/run.ts @@ -67,11 +67,6 @@ export async function runSelfInstaller(inputs: Inputs): Promise