Skip to content

Commit 104cac5

Browse files
committed
add timeouts
1 parent dcfa361 commit 104cac5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
- 'main'
1414
jobs:
1515
setup:
16+
name: 🔧 Setup
17+
timeout-minutes: 15
1618
strategy:
1719
matrix:
1820
os: [ubuntu-latest, windows-latest, macos-latest]
@@ -24,7 +26,7 @@ jobs:
2426
- name: ⎔ Setup node
2527
uses: actions/setup-node@v4
2628
with:
27-
node-version: 20
29+
node-version: 24
2830

2931
- name: ▶️ Run setup script
3032
run: npm run setup
@@ -37,6 +39,7 @@ jobs:
3739

3840
deploy:
3941
name: 🚀 Deploy
42+
timeout-minutes: 10
4043
runs-on: ubuntu-latest
4144
# only deploy main branch on pushes
4245
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}

0 commit comments

Comments
 (0)