Skip to content

Commit f2e5893

Browse files
committed
fix(ci): let pnpm/action-setup read the version from packageManager
action-setup@v4 hard-fails when both the workflow 'version' input and package.json's packageManager specify pnpm - every CI run since May died in setup before running anything.
1 parent 3ce98fe commit f2e5893

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
# pnpm version comes from package.json's "packageManager" field —
21+
# specifying it here too makes action-setup@v4 fail on the mismatch.
2022
- uses: pnpm/action-setup@v4
21-
with:
22-
version: 9
2323

2424
- uses: actions/setup-node@v4
2525
with:

0 commit comments

Comments
 (0)