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`
This commit is contained in:
Chris Sidi
2019-11-12 11:06:49 -05:00
committed by Josh Gross
parent 2ce3a0ec1a
commit a33d16cad6
+3 -5
View File
@@ -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