Skip to content

Commit b726808

Browse files
committed
ci: time-limit the Playwright install in the publish workflow
A stalled browser download would hold the publish job until GitHub's 6-hour default; ci.yml already caps the same step at 10 minutes. Also renames the step, which installs all three engines, not only Chromium.
1 parent 0b41da1 commit b726808

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/npm-publish.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
- name: Unit tests
3636
run: npm test
3737

38-
- name: Install Chromium for browser tests
38+
- name: Install Playwright browsers
39+
# A stalled download otherwise holds the publish job until GitHub's 6-hour default.
40+
timeout-minutes: 10
3941
run: npx playwright install --with-deps chromium firefox webkit
4042

4143
- name: Browser tests

0 commit comments

Comments
 (0)