Skip to content

Commit df7358a

Browse files
committed
fix(ci): let pnpm/action-setup read version from packageManager
Remove explicit `version: 8` from workflows; package.json pins pnpm@8.15.0 and duplicate specs caused ERR_PNPM_BAD_PM_VERSION.
1 parent b2c0845 commit df7358a

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818

1919
- name: Install pnpm
2020
uses: pnpm/action-setup@v4
21-
with:
22-
version: 8
2321

2422
- name: Setup Node.js ${{ matrix.node-version }}
2523
uses: actions/setup-node@v4
@@ -65,8 +63,6 @@ jobs:
6563

6664
- name: Install pnpm
6765
uses: pnpm/action-setup@v4
68-
with:
69-
version: 8
7066

7167
- name: Setup Node.js
7268
uses: actions/setup-node@v4
@@ -102,8 +98,6 @@ jobs:
10298

10399
- name: Install pnpm
104100
uses: pnpm/action-setup@v4
105-
with:
106-
version: 8
107101

108102
- name: Setup Node.js
109103
uses: actions/setup-node@v4

.github/workflows/publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616

1717
- name: Install pnpm
1818
uses: pnpm/action-setup@v4
19-
with:
20-
version: 8
2119

2220
- name: Setup Node.js
2321
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)