Skip to content

Commit 6f174a0

Browse files
committed
fix(ci): update both puppeteer install steps with working-directory
Issue: - Previous fix only updated compatibility matrix job - Main test job still using old puppeteer command - Both jobs need puppeteer run from CLI directory Changes: - Test job: Add working-directory: ./cli - Compatibility job: Already fixed with working-directory - Both now use: npx --yes puppeteer browsers install chrome Why: - Puppeteer is CLI dependency (via omniscript-converters) - Must run from CLI directory to find puppeteer in node_modules - --yes flag bypasses interactive prompt in CI Testing: - All local checks passing - Lint: ✓ Format: ✓ TypeScript: ✓ Tests: ✓ 130/130 Refs: CI #18591224743 - exit code 127 puppeteer not found
1 parent 639658d commit 6f174a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ jobs:
218218
run: pnpm install --frozen-lockfile
219219

220220
- name: Install Puppeteer Chrome browser
221-
run: npx --yes puppeteer browsers install chrome
221+
run: |
222+
cd cli
223+
npx --yes puppeteer browsers install chrome
222224
223225
- name: Build packages
224226
run: pnpm run build

0 commit comments

Comments
 (0)