Skip to content

Commit 83392ff

Browse files
committed
refactor: separate lint and build jobs
1 parent 7b18434 commit 83392ff

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/pr-checks.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ on:
66
- main
77

88
jobs:
9-
lint-and-build:
9+
lint:
1010
runs-on: ubuntu-latest
11-
1211
steps:
1312
- name: Checkout repository
1413
uses: actions/checkout@v4
@@ -25,6 +24,21 @@ jobs:
2524
- name: Run Biome check (no autofix)
2625
run: npm run check:ci
2726

27+
build:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout repository
31+
uses: actions/checkout@v4
32+
33+
- name: Set up Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 20
37+
cache: npm
38+
39+
- name: Install dependencies
40+
run: npm ci
41+
2842
- name: Build library
2943
run: npm run build:lib
3044

0 commit comments

Comments
 (0)