Skip to content

Commit d6252e8

Browse files
Copilothuangyiirene
andcommitted
Reduce timeout values for faster failure detection
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent a8d9024 commit d6252e8

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
timeout-minutes: 30
12+
timeout-minutes: 15
1313
strategy:
1414
matrix:
1515
node-version: [18.x, 20.x]
@@ -29,12 +29,12 @@ jobs:
2929

3030
- name: Install dependencies
3131
run: pnpm install --frozen-lockfile
32-
timeout-minutes: 10
32+
timeout-minutes: 5
3333

3434
- name: Build packages
3535
run: pnpm run build
36-
timeout-minutes: 15
36+
timeout-minutes: 10
3737

3838
- name: Run tests
3939
run: pnpm run test
40-
timeout-minutes: 20
40+
timeout-minutes: 10

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Build job
3030
build:
3131
runs-on: ubuntu-latest
32-
timeout-minutes: 20
32+
timeout-minutes: 10
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v4
@@ -51,11 +51,11 @@ jobs:
5151

5252
- name: Install dependencies
5353
run: pnpm install
54-
timeout-minutes: 10
54+
timeout-minutes: 5
5555

5656
- name: Build with VitePress
5757
run: pnpm run docs:build
58-
timeout-minutes: 10
58+
timeout-minutes: 5
5959

6060
- name: Upload artifact
6161
uses: actions/upload-pages-artifact@v3
@@ -69,7 +69,7 @@ jobs:
6969
url: ${{ steps.deployment.outputs.page_url }}
7070
needs: build
7171
runs-on: ubuntu-latest
72-
timeout-minutes: 10
72+
timeout-minutes: 5
7373
name: Deploy
7474
steps:
7575
- name: Deploy to GitHub Pages

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
release:
1717
name: Release
1818
runs-on: ubuntu-latest
19-
timeout-minutes: 30
19+
timeout-minutes: 20
2020
steps:
2121
- name: Checkout Repo
2222
uses: actions/checkout@v3
@@ -48,12 +48,12 @@ jobs:
4848
4949
- name: Install Dependencies
5050
run: pnpm install
51-
timeout-minutes: 10
51+
timeout-minutes: 5
5252

5353
- name: Create Release Pull Request or Publish to npm
5454
id: changesets
5555
uses: changesets/action@v1
56-
timeout-minutes: 15
56+
timeout-minutes: 10
5757
with:
5858
# This executes the release script defined in package.json
5959
publish: pnpm release

0 commit comments

Comments
 (0)