Skip to content

Commit 3a02608

Browse files
committed
ci: set timeout on jobs to prevent 6h runs on hangs
1 parent 22001b4 commit 3a02608

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414

1515
jobs:
1616
pnpmstore:
17+
timeout-minutes: 5
1718
runs-on: ${{ matrix.os }}
1819

1920
strategy:
@@ -64,7 +65,7 @@ jobs:
6465

6566
lint:
6667
needs: pnpmstore
67-
68+
timeout-minutes: 5
6869
runs-on: ${{ matrix.os }}
6970
strategy:
7071
matrix:
@@ -99,7 +100,7 @@ jobs:
99100

100101
audit:
101102
needs: pnpmstore
102-
103+
timeout-minutes: 5
103104
runs-on: ${{ matrix.os }}
104105
strategy:
105106
matrix:
@@ -130,7 +131,7 @@ jobs:
130131

131132
test:
132133
needs: pnpmstore
133-
134+
timeout-minutes: 10
134135
runs-on: ${{ matrix.os }}
135136
strategy:
136137
fail-fast: false
@@ -192,6 +193,7 @@ jobs:
192193
193194
build:
194195
needs: pnpmstore
196+
timeout-minutes: 5
195197
runs-on: ${{ matrix.os }}
196198
strategy:
197199
matrix:

0 commit comments

Comments
 (0)