Skip to content

Commit 8f3b0ee

Browse files
committed
fix(ci): remove pnpm version override conflicting with packageManager
pnpm/action-setup@v4 reads packageManager from package.json automatically. Specifying `version: latest` alongside `packageManager: pnpm@10.0.0` causes ERR_PNPM_BAD_PM_VERSION. Remove the explicit version so it uses package.json.
1 parent e637ae4 commit 8f3b0ee

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: pnpm/action-setup@v4
15-
with: { version: latest }
1615
- uses: actions/setup-node@v4
1716
with: { node-version: "lts/*", cache: "pnpm" }
1817
- run: pnpm install --frozen-lockfile

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: pnpm/action-setup@v4
16-
with: { version: latest }
1716
- uses: actions/setup-node@v4
1817
with:
1918
node-version: "lts/*"

0 commit comments

Comments
 (0)