Skip to content

Commit 042fbbe

Browse files
committed
Add separate CI job for linting
No need for X amount of different Node.js version to all run the linting as part of their CI rutine. Easier to just run that once, completely separate from the unit tests.
1 parent 4dbc88d commit 042fbbe

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/verify.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ name: Verify changes
33
on: [push, pull_request]
44

55
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Setup Node.js
12+
uses: actions/setup-node@v1
13+
with:
14+
node-version: 14.x
15+
- run: npm install
16+
- run: npm run test-lint
17+
618
tests:
719
runs-on: ubuntu-latest
820

@@ -21,7 +33,7 @@ jobs:
2133
- name: npm install and test
2234
run: |
2335
npm install
24-
npm test
36+
npm run test-unit
2537
2638
tests-on-legacy:
2739
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)