Skip to content

Commit 3847e3b

Browse files
committed
ci: Run lint outside matrix
1 parent d609e05 commit 3847e3b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,23 @@ jobs:
1717
with:
1818
node-version: ${{ matrix.node-version }}
1919
- run: npm ci
20-
- run: npm run lint:ci
2120
- run: npm run build
2221
- run: npm run test
2322
env:
2423
CI: true
2524

25+
lint:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Use Node.js from .node-version
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version-file: .node-version
34+
- run: npm ci
35+
- run: npm run lint:ci
36+
2637
docker:
2738
runs-on: ubuntu-latest
2839

0 commit comments

Comments
 (0)