Commit 366d8e2
authored
fix(ci): split Playwright install to prevent hang on GitHub Actions (#152)
The combined 'npx playwright install --with-deps chromium' command has
been hanging after Chrome download completes on newer GitHub Actions
runner images since May 29, causing every daily test run to time out
at the 6-hour job limit.
Split into two separate steps:
- 'npx playwright install-deps chromium' for system dependencies
(with DEBIAN_FRONTEND=noninteractive and NEEDRESTART_MODE=a)
- 'npx playwright install chromium' for browser binaries
Both steps have a 5-minute timeout to fail fast if they hang again.
Applied to both daily-tests.yml and pr-tests.yml workflows.1 parent d7e581b commit 366d8e2
2 files changed
Lines changed: 30 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
97 | 105 | | |
98 | 106 | | |
99 | 107 | | |
| |||
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
196 | | - | |
197 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
198 | 214 | | |
199 | 215 | | |
200 | 216 | | |
| |||
0 commit comments