Skip to content

Commit

Permalink
ci: pin NPM version
Browse files Browse the repository at this point in the history
see: loopbackio/cicd#6
Signed-off-by: Rifa Achrinza <[email protected]>
  • Loading branch information
achrinza committed Nov 24, 2021
1 parent 979e956 commit 1f4c2f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Bootstrap project
run: npm ci --ignore-scripts
- name: Update NPM (Node.js v10)
if: node-version == 10
run: npm install --global npm@7
- name: Update NPM
run: npm install --global npm
if: node-version != 10
run: npm install --gloal npm@8
- name: Run tests
run: npm test --ignore-scripts
- name: Publish coverage report to Coveralls
Expand Down

0 comments on commit 1f4c2f8

Please sign in to comment.