Skip to content

Commit

Permalink
chore(ci): add stricter timeouts to jobs (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe authored Nov 10, 2023
1 parent a290816 commit 224106c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
node-version:
- ${{ inputs.node-version }}
runs-on: ${{ matrix.system }}
timeout-minutes: 10
outputs:
head-sha: ${{ steps.set-SHAs.outputs.head }}
base-sha: ${{ steps.set-SHAs.outputs.base }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/compare-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
compare:
name: Compare compiled assets
runs-on: ubuntu-latest
timeout-minutes: 10
needs: [fetch-build-artifacts]
outputs:
has-changed: ${{ steps.compare.outputs.has-changed }}
Expand Down Expand Up @@ -102,6 +103,7 @@ jobs:
- ${{ inputs.head-sha }}
- ${{ inputs.base-sha }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Set the cache key for builds
id: derive-key
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
# install but don't build - we're linting pre-compiled assets
- name: Check out code
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:

todo_to_issue:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -63,6 +64,7 @@ jobs:
autoupdate:
name: Auto-update pull requests
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
publish_site:
name: Publish
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
## --- SETUP --- ##
- name: Check out code
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
vrt:
name: Chromatic
runs-on: ubuntu-latest
timeout-minutes: 20
outputs:
storybook-url: ${{ steps.chromatic.outputs.storybookUrl }}

Expand Down

0 comments on commit 224106c

Please sign in to comment.