Skip to content
Permalink
Browse files

Merge pull request #4 from marcomontalbano/npm-ci

Replace 'npm install' with 'npm ci'
  • Loading branch information...
marcomontalbano committed Sep 4, 2019
2 parents c05ee74 + c7e2fd4 commit 97ef2bfbe5c11f787ef499ac1595125707b6dc8c
Showing with 9 additions and 11 deletions.
  1. +9 −11 .github/workflows/nodejs.yml
@@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Project setup `npm install`
run: npm install
- name: Project setup `npm ci`
run: npm ci
- name: Run `test`
run: npm test

@@ -30,8 +30,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Project setup `npm install`
run: npm install
- name: Project setup `npm ci`
run: npm ci

- name: Run `coverage`
run: npm run coverage
@@ -60,13 +60,11 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Project setup `npm install`
run: npm install
- name: Project setup `npm ci`
run: npm ci

- name: Run `stryker`
run: |
npm install
npm run stryker
run: npm run stryker
- name: Upload `stryker` artifact
uses: actions/upload-artifact@v1
with:
@@ -85,10 +83,10 @@ jobs:
if: github.ref == 'refs/heads/master'
with:
node-version: 10.x
- name: Project setup `npm install && npm run build`
- name: Project setup `npm ci && npm run build`
if: github.ref == 'refs/heads/master'
run: |
npm install
npm ci
npm run build --if-present
env:
CI: true

0 comments on commit 97ef2bf

Please sign in to comment.
You can’t perform that action at this time.