diff --git a/.circleci/config.yml b/.circleci/config.yml index 522f720b76..2e889df0d1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,10 +41,15 @@ commands: name: Restore node_modules cache key: node_modules-<< parameters.cache-key >>-{{ checksum "package-lock.json" }} - run: + name: Verify `package.json` and `package-lock.json` are in sync + command: npx lock-verify + - run: + # This uses `npm install` instead of `npm ci` + # because of https://github.com/npm/cli/issues/558 name: Install Node Packages command: | if [ ! -d node_modules ]; then - npm ci + npm install fi - save_cache: name: Save node_modules cache