Skip to content

Commit 62eaa2d

Browse files
authored
CI の並列化 (#178)
1 parent 83cd759 commit 62eaa2d

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
name: Check
12
on: pull_request
23
jobs:
3-
lint:
4+
build-type-check:
5+
name: Build and Type Check
46
runs-on: ubuntu-latest
57
steps:
68
- uses: actions/checkout@v3
@@ -18,4 +20,15 @@ jobs:
1820
restore-keys: ${{ runner.os }}-gatsby-build-
1921
- run: npm run build
2022
- run: npm run type-check
23+
24+
lint:
25+
name: Lint
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: actions/setup-node@v3
30+
with:
31+
node-version: "18"
32+
cache: npm
33+
- run: npm ci
2134
- run: npm run lint

0 commit comments

Comments
 (0)