From 0e1018c9f66a68ddb648f7e543299275c5cdd5cb Mon Sep 17 00:00:00 2001 From: jugglinmike Date: Tue, 16 Jun 2020 23:14:17 -0400 Subject: [PATCH] CI: Limit code linting to a single v. of Node.js (#190) 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. --- .github/workflows/nodejs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 008d60bf..615feb84 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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