From 53dd2e1dd15ca7ca15ac3d845611cd9d5086e6aa Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Mon, 15 Jun 2020 13:22:38 -0400 Subject: [PATCH] CI: Limit code linting to a single v. of Node.js 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