Skip to content

Commit 470b976

Browse files
mirqtioclaude
andcommitted
fix(ci): use Node 20.16.0 in baseline allowlist workflow to match package.json engines
The baseline allowlist workflow was failing during pnpm install with: ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment Root cause: Workflow used Node 22.x but package.json requires: - engines.node: 20.16.0 - engines.pnpm: 9 Fix: Change node-version from '22.x' to '20.16.0' in both jobs (gen-matrix and run-allowlisted) to match package.json requirements. This allows corepack to install the correct pnpm version (9.x) and dependencies to install successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3f0f7cc commit 470b976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: '22.x' # Match local Node v22.15.0
25+
node-version: '20.16.0' # Match package.json engines.node
2626

2727
- name: Install deps
2828
run: |
@@ -47,7 +47,7 @@ jobs:
4747

4848
- uses: actions/setup-node@v4
4949
with:
50-
node-version: '22.x' # Match local Node v22.15.0
50+
node-version: '20.16.0' # Match package.json engines.node
5151

5252
- name: Install browsers (Playwright)
5353
run: |

0 commit comments

Comments
 (0)