Skip to content

Commit b912ac1

Browse files
mirqtioclaude
andcommitted
fix(ci): add explicit pnpm@9 preparation to workaround corepack bug in Node 20.16.0
The baseline allowlist workflow was failing with: Error: Cannot find matching keyid Root cause: Node 20.16.0's bundled corepack has a signature verification bug when running `corepack enable` that tries to auto-detect and install pnpm. Fix: Add `corepack prepare pnpm@9 --activate` before pnpm install in both jobs (gen-matrix and run-allowlisted) to explicitly install pnpm 9 without relying on corepack's buggy auto-detection. This is a known issue: nodejs/corepack#358 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 470b976 commit b912ac1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/playwright-baseline-allowlist.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- name: Install deps
2828
run: |
2929
corepack enable
30+
corepack prepare pnpm@9 --activate
3031
pnpm i --frozen-lockfile
3132
3233
- name: Generate Playwright selection from CSV
@@ -52,6 +53,7 @@ jobs:
5253
- name: Install browsers (Playwright)
5354
run: |
5455
corepack enable
56+
corepack prepare pnpm@9 --activate
5557
pnpm i --frozen-lockfile
5658
npx playwright install --with-deps
5759

0 commit comments

Comments
 (0)