Commit 639658d
committed
fix(ci): use npx --yes for puppeteer chrome installation
Issue:
- Puppeteer Chrome installation failing in CI
- 'pnpm add -D puppeteer' tries to modify frozen lockfile
- Exit code 127 - command not found or failed
Solution:
- Remove 'pnpm add -D puppeteer' step
- Use 'npx --yes puppeteer browsers install chrome' directly
- Puppeteer is already in dependencies via omniscript-converters
- --yes flag bypasses npx prompt in CI environment
Why This Works:
- Puppeteer package installed via pnpm install
- Just need to download Chrome browser binary
- npx can access puppeteer from node_modules
Testing:
- Lint check: ✓ passed
- Format check: ✓ passed
- Type check: ✓ passed
- Tests: ✓ 130/130 passed locally
Refs: CI failures #18591085447 and earlier1 parent 5bbdb98 commit 639658d
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 220 | + | |
| 221 | + | |
224 | 222 | | |
225 | 223 | | |
226 | 224 | | |
| |||
0 commit comments