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:
+3
-5
@@ -17,10 +17,8 @@ jobs:
|
|||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: npm install, build, and test
|
- run: npm install
|
||||||
run: |
|
- run: npm run build --if-present
|
||||||
npm ci
|
- run: npm test
|
||||||
npm run build --if-present
|
|
||||||
npm test
|
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|||||||
Reference in New Issue
Block a user