Skip to content

Commit 81c617a

Browse files
committed
parallelize CI workflow: linting, type checking, and testing jobs
1 parent 1cf4557 commit 81c617a

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

.github/workflows/CI.yaml

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,50 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
test:
12-
name: Lint, Type Check & Test
11+
lint:
12+
name: Lint
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17-
1817
- name: Setup Node
1918
uses: actions/setup-node@v4
2019
with:
2120
node-version: "22"
2221
cache: 'npm'
23-
2422
- name: Install dependencies
2523
run: npm install
26-
2724
- name: Lint
2825
run: npm run lint
2926

27+
type-check:
28+
name: Type Check
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
- name: Setup Node
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: "22"
37+
cache: 'npm'
38+
- name: Install dependencies
39+
run: npm install
3040
- name: Type check
3141
run: tsc --noEmit
3242

43+
test:
44+
name: Test
45+
runs-on: ubuntu-latest
46+
steps:
47+
- name: Checkout
48+
uses: actions/checkout@v4
49+
- name: Setup Node
50+
uses: actions/setup-node@v4
51+
with:
52+
node-version: "22"
53+
cache: 'npm'
54+
- name: Install dependencies
55+
run: npm install
3356
- name: Test
3457
run: npm run test

0 commit comments

Comments
 (0)