From f37d9e81a5a2733b142b360f41362d60b94e26c6 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Fri, 12 Jun 2026 09:29:51 +0000 Subject: [PATCH] fix(ci): read pnpm version from packageManager, drop pinned version ci.yml and test.yml pinned `version:` for pnpm/action-setup@v4 (9 and 9.12.0), conflicting with package.json's "packageManager": "pnpm@10.0.0" and failing every run with ERR_PNPM_BAD_PM_VERSION. Remove the pinned input so action-setup reads the version from packageManager. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 3 +-- .github/workflows/test.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09b6cb1..d20377f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,9 +23,8 @@ jobs: steps: - uses: actions/checkout@v4 + # pnpm version is read from the "packageManager" field in package.json. - uses: pnpm/action-setup@v4 - with: - version: 9 - uses: actions/setup-node@v4 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed6aa73..e041db2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,9 +19,8 @@ jobs: steps: - uses: actions/checkout@v4 + # pnpm version is read from the "packageManager" field in package.json. - uses: pnpm/action-setup@v4 - with: - version: 9.12.0 - uses: actions/setup-node@v4 with: