Skip to content

Commit

Permalink
chore: run linter only once
Browse files Browse the repository at this point in the history
  • Loading branch information
madbence committed Oct 7, 2020
1 parent 93ae8e5 commit 9aad36a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,19 @@ on:
branches: [ main ]

jobs:
build:
lint:
runs-on: ubuntu-latest

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

test:
runs-on: ubuntu-latest

strategy:
Expand All @@ -23,5 +34,4 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run lint
- run: npm test

0 comments on commit 9aad36a

Please sign in to comment.