From f6a5edd30aaa14c973d1ae3a99f94d55f0a88069 Mon Sep 17 00:00:00 2001 From: Marvin Zeising Date: Sun, 17 May 2026 19:46:33 +0200 Subject: [PATCH 1/2] fix(ci): downgrade pnpm/action-setup from v6.0.0 to v4.4.0 to fix ERR_PNPM_BROKEN_LOCKFILE pnpm/action-setup v6.0.0 bootstraps with pnpm 11.0.0-rc.0 and skips the self-update step when packageManager is set in package.json (returns undefined). This causes pnpm 11-rc to run pnpm install against a lockfile generated by pnpm 10, leading to ERR_PNPM_BROKEN_LOCKFILE. v4.4.0 correctly reads the packageManager field and installs the exact version specified (e.g. pnpm@10.28.0), which is compatible with the lockfileVersion 9.0. --- .github/workflows/template_changeset_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/template_changeset_release.yml b/.github/workflows/template_changeset_release.yml index e4803601..68922737 100644 --- a/.github/workflows/template_changeset_release.yml +++ b/.github/workflows/template_changeset_release.yml @@ -49,7 +49,7 @@ jobs: token: ${{ steps.get_token.outputs.token }} - name: Setup PNPM - uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0 + uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0 - name: Setup Node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 From 1eeaa3090e657e77c88e1b19e1974d1dcfb6c807 Mon Sep 17 00:00:00 2001 From: Marvin Zeising Date: Sun, 17 May 2026 21:53:23 +0200 Subject: [PATCH 2/2] =?UTF-8?q?fix(ci):=20bump=20pnpm/action-setup=20v4.4.?= =?UTF-8?q?0=20=E2=86=92=20v6.0.8=20(upstream=20bug=20fixed)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v6.0.0–v6.0.6 self-update bootstrap bug (pnpm/action-setup#256) that caused ERR_PNPM_BROKEN_LOCKFILE when `packageManager` is set in package.json has been fixed upstream in v6.0.7 and polished in v6.0.8 (released 2026-05-12). Replace the v4.4.0 workaround with the real fix. Ref: https://github.com/pnpm/action-setup/pull/256 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/template_changeset_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/template_changeset_release.yml b/.github/workflows/template_changeset_release.yml index 68922737..5c61b35c 100644 --- a/.github/workflows/template_changeset_release.yml +++ b/.github/workflows/template_changeset_release.yml @@ -49,7 +49,7 @@ jobs: token: ${{ steps.get_token.outputs.token }} - name: Setup PNPM - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0 + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - name: Setup Node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0