Skip to content

Commit 720d83d

Browse files
committed
chore(ci): limit workflow jobs to 30 minutes
1 parent 96208d6 commit 720d83d

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313
# Tests already passed before tag was created, so just build and deploy
1414
deploy:
15+
timeout-minutes: 30
1516
runs-on: ubuntu-latest
1617
name: "Build and publish to npm"
1718
permissions:

.github/workflows/bump_version.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ on:
1212
jobs:
1313
# Run all tests first before creating any tags
1414
test:
15+
timeout-minutes: 30
1516
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
1617
uses: ./.github/workflows/test.yml
1718

1819
# Only bump version and create tag if all tests pass
1920
bump-version:
21+
timeout-minutes: 30
2022
needs: [test]
2123
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
2224
runs-on: ubuntu-latest

.github/workflows/github-releases-to-discord.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
github-releases-to-discord:
9+
timeout-minutes: 30
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: Checkout

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
guard_swiftpm_version:
13+
timeout-minutes: 30
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Check out
@@ -22,6 +23,7 @@ jobs:
2223
exit 1
2324
fi
2425
build_android:
26+
timeout-minutes: 30
2527
runs-on: ubuntu-latest
2628
steps:
2729
- name: Check out
@@ -41,6 +43,7 @@ jobs:
4143
id: build_code
4244
run: npm run verify:android
4345
build_ios:
46+
timeout-minutes: 30
4447
runs-on: macOS-latest
4548
steps:
4649
- name: Check out
@@ -55,6 +58,7 @@ jobs:
5558
id: build_code
5659
run: bun run verify:ios
5760
web:
61+
timeout-minutes: 30
5862
runs-on: ubuntu-latest
5963
name: 'Build code and test'
6064
steps:

0 commit comments

Comments
 (0)