Commit c810d9c
fix: use browser-actions/setup-chrome for Puppeteer in CI
Replaced manual apt-get install with official setup-chrome action.
Changes:
- Set PUPPETEER_SKIP_DOWNLOAD=true during npm ci (saves time/bandwidth)
- Use browser-actions/setup-chrome@latest to install stable Chrome
- Set PUPPETEER_EXECUTABLE_PATH env var for prerender script
- Updated prerender.js to use executablePath from env if available
This avoids package installation failures and uses the GitHub Actions
recommended approach for browser testing.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent a5c6fdd commit c810d9c
2 files changed
Lines changed: 11 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 30 | | |
48 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
49 | 42 | | |
50 | 43 | | |
51 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments