Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
phillipj committed Feb 7, 2021
1 parent 4dbc88d commit 042fbbe
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/verify.yml
Expand Up @@ -3,6 +3,18 @@ name: Verify changes
on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install
- run: npm run test-lint

tests:
runs-on: ubuntu-latest

Expand All @@ -21,7 +33,7 @@ jobs:
- name: npm install and test
run: |
npm install
npm test
npm run test-unit
tests-on-legacy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 042fbbe

Please sign in to comment.