Skip to content

Commit 2f035ad

Browse files
committed
have a separate lint job
1 parent 37380c9 commit 2f035ad

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,32 @@ on:
77
branches: [main]
88

99
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
cache: pnpm
19+
- run: pnpm install
20+
- run: pnpm lint
21+
1022
build:
1123
runs-on: ubuntu-latest
1224

1325
strategy:
26+
fail-fast: false
1427
matrix:
1528
node-version: [20.x, 22.x, 24.x]
1629

1730
steps:
1831
- uses: actions/checkout@v4
1932
- uses: pnpm/action-setup@v4
20-
name: Install pnpm
2133
- uses: actions/setup-node@v4
2234
with:
2335
node-version: ${{ matrix.node-version }}
2436
cache: pnpm
25-
- run: pnpm install --frozen-lockfile
26-
- run: pnpm lint
37+
- run: pnpm install
2738
- run: pnpm test

0 commit comments

Comments
 (0)