Skip to content

Commit 91ba344

Browse files
okatu-loliclaude
andcommitted
ci: revert pnpm/action-setup to v2
pnpm/action-setup@v4 errors with "Multiple versions of pnpm specified" because the workflow passes version: 9 while AlistGo/desktop package.json pins packageManager pnpm@8.6.10. The lockfile is 9.0 so version: 9 is the correct one; v2 respects the input and ignores the field. checkout and setup-node stay on v4. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d53431b commit 91ba344

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
workspaces: "./src-tauri -> target"
5757

58-
- uses: pnpm/action-setup@v4
58+
- uses: pnpm/action-setup@v2
5959
with:
6060
version: 9
6161
run_install: false
@@ -131,7 +131,7 @@ jobs:
131131
- name: Checkout repository
132132
uses: actions/checkout@v4
133133

134-
- uses: pnpm/action-setup@v4
134+
- uses: pnpm/action-setup@v2
135135
with:
136136
version: 9
137137
run_install: false

.github/workflows/release_beta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
with:
7575
workspaces: "./src-tauri -> target"
7676

77-
- uses: pnpm/action-setup@v4
77+
- uses: pnpm/action-setup@v2
7878
with:
7979
version: 9
8080
run_install: false
@@ -172,7 +172,7 @@ jobs:
172172
with:
173173
ref: main
174174

175-
- uses: pnpm/action-setup@v4
175+
- uses: pnpm/action-setup@v2
176176
with:
177177
version: 9
178178
run_install: false

0 commit comments

Comments
 (0)