Skip to content

Commit c3b05a9

Browse files
authored
chore: separate test and list ci jobs (#25)
1 parent f62e0cf commit c3b05a9

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ permissions:
88
contents: read
99

1010
jobs:
11-
build:
12-
name: Build
11+
lint:
12+
name: Lint
1313
runs-on: ubuntu-latest
1414

1515
steps:
@@ -30,6 +30,22 @@ jobs:
3030
- name: Lint
3131
run: npx eslint
3232

33+
test:
34+
name: Test
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v5
40+
41+
- name: Setup Node
42+
uses: actions/setup-node@v4
43+
with:
44+
cache: npm
45+
46+
- name: Install dependencies
47+
run: npm ci
48+
3349
- name: Type check
3450
run: npx tsc
3551

0 commit comments

Comments
 (0)