Skip to content

Commit bec2f99

Browse files
authored
ci: set timeout for setup to 30 minutes (#3675)
## Proposed change <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. --> ## Related issues <!-- Please make sure to follow the [contribution guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md) --> *- No issue associated -* <!-- * 🐛 Fix #issue --> <!-- * 🐛 Fix resolves #issue --> <!-- * 🚀 Feature #issue --> <!-- * 🚀 Feature resolves #issue --> <!-- * :octocat: Pull Request #issue -->
2 parents df8c648 + 10be37f commit bec2f99

File tree

10 files changed

+17
-0
lines changed

10 files changed

+17
-0
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
ref: ${{ inputs.ref }}
3232
- name: Setup
3333
uses: ./tools/github-actions/setup
34+
timeout-minutes: 30
3435
- name: Audit
3536
id: audit
3637
uses: ./tools/github-actions/audit

.github/workflows/check-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
with:
4646
ref: ${{ inputs.ref }}
4747
- uses: ./tools/github-actions/setup
48+
timeout-minutes: 30
4849
- uses: ./.github/actions/setup-java
4950
with:
5051
install-jdk: 'true'

.github/workflows/code-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
fetch-depth: ${{ inputs.affected && '0' || '1' }}
5959
- name: Setup
6060
uses: ./tools/github-actions/setup
61+
timeout-minutes: 30
6162
- uses: ./.github/actions/setup-java
6263
with:
6364
install-jdk: 'true'
@@ -106,6 +107,7 @@ jobs:
106107
fetch-depth: ${{ inputs.affected && '0' || '1' }}
107108
- name: Setup
108109
uses: ./tools/github-actions/setup
110+
timeout-minutes: 30
109111
- name: Cache Eslint
110112
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
111113
env:
@@ -132,6 +134,7 @@ jobs:
132134
fetch-depth: ${{ inputs.affected && '0' || '1' }}
133135
- name: Setup
134136
uses: ./tools/github-actions/setup
137+
timeout-minutes: 30
135138
- name: Package github actions
136139
env:
137140
NX_BASE: ${{ format('remotes/origin/{0}', github.base_ref || github.ref_name) }}

.github/workflows/deploy-showcase.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535
- uses: ./tools/github-actions/setup
36+
timeout-minutes: 30
3637
- name: build
3738
run: yarn nx build showcase
3839
- name: Setup Pages

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5454
- uses: ./tools/github-actions/setup
55+
timeout-minutes: 30
5556
- name: Generate doc
5657
run: yarn doc:generate
5758
- name: Generate package json

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3737
- uses: ./tools/github-actions/download-build-output
3838
- uses: ./tools/github-actions/setup
39+
timeout-minutes: 30
3940
- run: yarn playwright install
4041
- name: Run e2e tests
4142
run: |
@@ -79,6 +80,7 @@ jobs:
7980
with:
8081
visualTestingReportPath: apps/showcase/playwright-reports/visual-testing/report.json
8182
- uses: ./tools/github-actions/setup
83+
timeout-minutes: 30
8284
if: ${{ steps.update-e2e-screenshots.outputs.screenshots != '0' }}
8385
- name: Create branch for e2e screenshots
8486
if: ${{ steps.update-e2e-screenshots.outputs.screenshots != '0' }}

.github/workflows/it-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
with:
4646
artifactName: ${{ inputs.ref && format('dist-{0}', inputs.ref) || 'dist' }}
4747
- uses: ./tools/github-actions/setup
48+
timeout-minutes: 30
4849
- name: Setup verdaccio once for all tests
4950
id: setup-verdaccio
5051
run: |
@@ -93,6 +94,7 @@ jobs:
9394
with:
9495
artifactName: ${{ inputs.ref && format('dist-{0}', inputs.ref) || 'dist' }}
9596
- uses: ./tools/github-actions/setup
97+
timeout-minutes: 30
9698
- shell: bash
9799
run: |
98100
git config --global user.name "GitHub Actions"

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
# Fetch 2 is needed to properly check if the yarn.lock is affected by a pull-request
4040
fetch-depth: 2
4141
- uses: ./tools/github-actions/setup
42+
timeout-minutes: 30
4243
env:
4344
YARN_ENABLE_HARDENED_MODE: 1
4445
- name: Yarn errors reporter
@@ -57,6 +58,7 @@ jobs:
5758
steps:
5859
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5960
- uses: ./tools/github-actions/setup
61+
timeout-minutes: 30
6062
- uses: ./.github/actions/setup-java
6163
with:
6264
install-jdk: 'true'

.github/workflows/pr-labels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
- name: Setup
2222
uses: ./tools/github-actions/setup
23+
timeout-minutes: 30
2324
- name: Determine labels
2425
run: |
2526
LABELS="$(yarn pr-labels --target="${{ github.base_ref || github.ref_name }}")"

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
ref: ${{ inputs.gitRef }}
7474
- uses: ./tools/github-actions/download-build-output
7575
- uses: ./tools/github-actions/setup
76+
timeout-minutes: 30
7677
with:
7778
#TODO Remove when migrate to Node 24
7879
npm-version: '11.5'
@@ -103,6 +104,7 @@ jobs:
103104
fetch-depth: 2
104105
- uses: ./tools/github-actions/download-build-output
105106
- uses: ./tools/github-actions/setup
107+
timeout-minutes: 30
106108
- run: yarn set:version ${{ inputs.version }}
107109
- name: Get tag name
108110
id: get-npm-tag
@@ -136,6 +138,7 @@ jobs:
136138
fetch-depth: 2
137139
- uses: ./tools/github-actions/download-build-output
138140
- uses: ./tools/github-actions/setup
141+
timeout-minutes: 30
139142
- run: yarn set:version ${{ inputs.version }}
140143
- name: Publish Extensions
141144
if: '!inputs.prerelease'

0 commit comments

Comments
 (0)