From a33d16cad69c19bcfae4cbdf24262ff7e329c092 Mon Sep 17 00:00:00 2001 From: Chris Sidi Date: Tue, 12 Nov 2019 11:06:49 -0500 Subject: [PATCH] Use separate steps for install, build and test (#192) * Use separate steps for install, build and test Having separate steps makes it easier to determine what failed. Switching from `npm ci` to `npm install` because the Windows image uses node v8.10.0 and npm v5.6.0. `ci` was introduced in npm v5.7.0. See https://github.com/actions/virtual-environments/issues/88 * Remove `name` --- ci/node.js.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ci/node.js.yml b/ci/node.js.yml index 94face1..a2aece3 100644 --- a/ci/node.js.yml +++ b/ci/node.js.yml @@ -17,10 +17,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: npm install, build, and test - run: | - npm ci - npm run build --if-present - npm test + - run: npm install + - run: npm run build --if-present + - run: npm test env: CI: true