Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 69652b3

Browse files
roottoolclaude
andauthored
ci: optimize workflow timeout values and rename workflow files (#47)
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 710318b commit 69652b3

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ concurrency:
1717
cancel-in-progress: true
1818

1919
# This workflow contains core CI jobs that run on push/pull_request events.
20-
# For additional jobs, create separate workflow_call files (e.g., call-*.yml)
21-
# and invoke them from this workflow. See .github/workflows/call-dependency-review.yml for reference.
20+
# For additional jobs, create separate workflow_call files (e.g., wc-*.yml)
21+
# and invoke them from this workflow. See .github/workflows/wc-dependency-review.yml for reference.
2222
jobs:
2323
setup:
2424
name: Setup
2525
runs-on: ubuntu-latest
26-
timeout-minutes: 5
26+
timeout-minutes: 2
2727
permissions:
2828
pull-requests: read
2929
if: ${{ !github.event.pull_request.draft }}
@@ -53,23 +53,23 @@ jobs:
5353
5454
lint-format:
5555
needs: [setup]
56-
uses: ./.github/workflows/call-lint-format.yml
56+
uses: ./.github/workflows/wc-lint-format.yml
5757

5858
type-check:
5959
needs: [setup]
6060
if: ${{ needs.setup.outputs.typescript == 'true' }}
61-
uses: ./.github/workflows/call-type-check.yml
61+
uses: ./.github/workflows/wc-type-check.yml
6262

6363
test:
6464
needs: [setup]
65-
uses: ./.github/workflows/call-test.yml
65+
uses: ./.github/workflows/wc-test.yml
6666
secrets:
6767
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
6868

6969
export-validation:
7070
needs: [setup, lint-format, type-check, test]
7171
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
72-
uses: ./.github/workflows/call-export-validation.yml
72+
uses: ./.github/workflows/wc-export-validation.yml
7373

7474
status-check:
7575
name: Status Check

.github/workflows/prepare-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
prepare:
3030
name: Prepare Release PR
3131
runs-on: ubuntu-latest
32-
timeout-minutes: 10
32+
timeout-minutes: 2
3333
steps:
3434
- name: Generate token
3535
id: generate_token

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
publish:
2121
name: Publish package
2222
runs-on: ubuntu-latest
23-
timeout-minutes: 10
23+
timeout-minutes: 3
2424
environment: npm-registry
2525
steps:
2626
- name: Generate token
File renamed without changes.

.github/workflows/call-export-validation.yml renamed to .github/workflows/wc-export-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
export-validation:
1212
name: Export Validation
1313
runs-on: ubuntu-latest
14-
timeout-minutes: 5
14+
timeout-minutes: 2
1515
steps:
1616
- name: Checkout Repository
1717
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
lint-format:
1212
name: Lint & Format Check
1313
runs-on: ubuntu-latest
14-
timeout-minutes: 5
14+
timeout-minutes: 2
1515
steps:
1616
- name: Checkout Repository
1717
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
test:
1717
name: Test
1818
runs-on: ubuntu-latest
19-
timeout-minutes: 5
19+
timeout-minutes: 2
2020
steps:
2121
- name: Checkout Repository
2222
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
type-check:
1212
name: TypeScript Type Check
1313
runs-on: ubuntu-latest
14-
timeout-minutes: 5
14+
timeout-minutes: 2
1515
steps:
1616
- name: Checkout Repository
1717
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

0 commit comments

Comments
 (0)