Skip to content

Commit 8c42829

Browse files
authored
Set Github actions build timeout to 30 min
Sometimes a runner, especially the Windows one, goes wrong and runs until the default timeout of 6 hours is hit. Introduce a timeout of 30 minutes to avoid occupying the runner for so long needlessly.
1 parent 3815335 commit 8c42829

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on: [push, pull_request]
55
jobs:
66
ci:
77
runs-on: ${{ matrix.os }}
8+
timeout-minutes: 30
89
strategy:
910
fail-fast: false
1011
matrix:
@@ -20,7 +21,7 @@ jobs:
2021
with:
2122
node-version: 12
2223
- name: Build
23-
run: |
24+
run: |
2425
npm ci
2526
npm run init
2627
npm run build

0 commit comments

Comments
 (0)