Skip to content

Commit

Permalink
CI: Limit code linting to a single v. of Node.js (#190)
Browse files Browse the repository at this point in the history
The static code analyzer is unlikely to uncover different issues across
versions of Node.js. A report comprised of results from many versions
will generally be redundant.

Reconfigure the service to lint the code in the latest verion of Node.js
only.
  • Loading branch information
jugglinmike authored Jun 17, 2020
1 parent 1014688 commit 0e1018c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run lint
if: ${{ matrix.node-version == '12.x' }}
- run: npm run coverage
env:
CI: true

0 comments on commit 0e1018c

Please sign in to comment.