Skip to content

Commit

Permalink
chore(ci): set timeout on steps that are known to hang indefinitely a…
Browse files Browse the repository at this point in the history
…fter failure (#437)
  • Loading branch information
galargh authored Feb 17, 2025
1 parent 76355c3 commit 5f391ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ jobs:
run: npm install
- name: Install Playwright
run: npx -y playwright install --with-deps
# This step has been observed to hang indefinitely when failing to download browsers.
timeout-minutes: 10
- name: Run tests
run: npm run test
env:
CI: true
# This step has been observed to hang indefinitely when the browsers weren't correctly downloaded.
timeout-minutes: 10

monorepo:
runs-on: ubuntu-latest
Expand All @@ -68,6 +72,8 @@ jobs:
run: npm install
- name: Install Playwright
run: npx -y playwright install --with-deps
# This step has been observed to hang indefinitely when failing to download browsers.
timeout-minutes: 10
- name: Run linting
run: npm run lint
env:
Expand All @@ -76,6 +82,8 @@ jobs:
run: npm run test -- --concurrency 1
env:
CI: true
# This step has been observed to hang indefinitely when the browsers weren't correctly downloaded.
timeout-minutes: 10

push-changes:
name: Push changes
Expand Down

0 comments on commit 5f391ae

Please sign in to comment.