Skip to content

Commit 9c5f9f7

Browse files
fix: remove packageManager field and use pnpm 10 in workflows
- Remove packageManager field from root package.json to avoid version conflicts - Explicitly set pnpm version 10 in GitHub Actions workflows - This resolves the ERR_PNPM_BAD_PM_VERSION error in CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent c2b40e5 commit 9c5f9f7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
- name: Setup pnpm
139139
uses: pnpm/action-setup@v4
140140
with:
141+
version: 10
141142
run_install: false
142143

143144
- name: Setup Node.js with caching

.github/workflows/on-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
- name: Setup pnpm
6666
uses: pnpm/action-setup@v4
6767
with:
68+
version: 10
6869
run_install: false
6970

7071
- name: Setup Node.js with caching

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,5 @@
217217
"report:generate": "allure generate ./cypress/results/allure-results --clean -o ./cypress/report",
218218
"report:open": "allure open ./cypress/report",
219219
"preinstall": "npx only-allow pnpm"
220-
},
221-
"packageManager": "[email protected]+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
220+
}
222221
}

0 commit comments

Comments
 (0)