Skip to content

Commit c2b40e5

Browse files
fix: remove explicit pnpm version to resolve version conflict
Remove explicit version specification from pnpm/action-setup to avoid conflicts with the packageManager field in package.json. This allows the action to automatically use the repository's specified pnpm version. Fixes: Error: Multiple versions of pnpm specified (ERR_PNPM_BAD_PM_VERSION) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 0d2119a commit c2b40e5

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ jobs:
138138
- name: Setup pnpm
139139
uses: pnpm/action-setup@v4
140140
with:
141-
version: 9
142141
run_install: false
143142

144143
- name: Setup Node.js with caching

.github/workflows/on-push.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
- name: Setup pnpm
6666
uses: pnpm/action-setup@v4
6767
with:
68-
version: 9
6968
run_install: false
7069

7170
- name: Setup Node.js with caching

0 commit comments

Comments
 (0)