Skip to content

Commit

Permalink
chore(deps): update npm to v7 (#2146)
Browse files Browse the repository at this point in the history
* chore(deps): update npm to v7

* chore: Ensure all CI jobs run 'npm ci' using the latest npm version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Luca Greco <lgreco@mozilla.com>
  • Loading branch information
3 people committed Jun 18, 2021
1 parent c866678 commit 3b075fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Expand Up @@ -83,10 +83,13 @@ commands:
paths:
- ./node_modules

# NOTE: The package lock file format generated by more recent npm version (currently v7)
# is incompatible with npm v6, and so here we run `npm ci` using the last npm version
# indipendently from which is the nodejs version that the CI job is running for (See #2145).
run_npm_ci:
description: install npm dependencies
steps:
- run: npm ci
- run: npx npm@latest ci

run_npm_build:
description: build project in << parameters.node_env >> mode
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
],
"engines": {
"node": ">=12.0.0",
"npm": ">=6.9.0 <7.0.0"
"npm": ">=6.9.0"
},
"engine-strict": true,
"bin": {
Expand Down

0 comments on commit 3b075fb

Please sign in to comment.