Skip to content

Commit e0d4b2c

Browse files
ci: keep pnpm/action-setup on v4 due to upstream regression
pnpm/action-setup v6 ships a pnpm 11 bootstrap that does not honor the requested 'version' input, leaving pnpm 11 on PATH after the action finishes. With this repo's engines.pnpm: 10.33.0 constraint, that breaks every 'pnpm install' step with ERR_PNPM_UNSUPPORTED_ENGINE. Tracking upstream: - pnpm/action-setup#225 - pnpm/action-setup#231 Revert all workflows to v4 and tell Dependabot to ignore v5+ until upstream stabilizes. Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
1 parent bdaa9f2 commit e0d4b2c

6 files changed

Lines changed: 15 additions & 6 deletions

File tree

.github/dependabot.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ updates:
77
commit-message:
88
prefix: chore
99
labels: []
10+
ignore:
11+
# pnpm/action-setup v5 and v6 ship a pnpm 11 bootstrap that fails to
12+
# honor the requested `version:` input and collides with this repo's
13+
# `engines.pnpm: 10.33.0` constraint, breaking `pnpm install` with
14+
# ERR_PNPM_UNSUPPORTED_ENGINE.
15+
# See https://github.com/pnpm/action-setup/issues/225 and #231.
16+
# Stay on v4 until upstream fixes are released.
17+
- dependency-name: pnpm/action-setup
18+
versions: [">=5"]
1019

1120
- package-ecosystem: npm
1221
directory: /

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
with:
1111
node-version: "20"
1212

13-
- uses: pnpm/action-setup@v6
13+
- uses: pnpm/action-setup@v4
1414
with:
1515
version: 10.33.0
1616

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
node-version: "20"
1818

19-
- uses: pnpm/action-setup@v6
19+
- uses: pnpm/action-setup@v4
2020
with:
2121
version: 10.33.0
2222

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
node-version: "20"
5252

5353
- name: Setup pnpm
54-
uses: pnpm/action-setup@v6
54+
uses: pnpm/action-setup@v4
5555
with:
5656
version: 10.33.0
5757

.github/workflows/test-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v6
1616

1717
- name: Setup pnpm
18-
uses: pnpm/action-setup@v6
18+
uses: pnpm/action-setup@v4
1919
with:
2020
version: 10.33.0
2121

@@ -69,7 +69,7 @@ jobs:
6969
uses: actions/checkout@v6
7070

7171
- name: Setup pnpm
72-
uses: pnpm/action-setup@v6
72+
uses: pnpm/action-setup@v4
7373
with:
7474
version: 10.33.0
7575

.github/workflows/verify-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
node-version: "20"
2222

2323
- name: Setup pnpm
24-
uses: pnpm/action-setup@v6
24+
uses: pnpm/action-setup@v4
2525
with:
2626
version: 10.33.0
2727

0 commit comments

Comments
 (0)