Closed frontsideair closed 6 years ago
npm ci is way faster than npm install so we should use it when it's available. Requirements:
npm ci
npm install
>5.7.0
package-lock.json
npm-shrinkwrap.json
Things to do:
I think it's supposed to work when there's no node_modules present like in a CI environment. Closing.
node_modules
npm ci
is way faster thannpm install
so we should use it when it's available. Requirements:>5.7.0
package-lock.json
ornpm-shrinkwrap.json
exists (we already check forpackage-lock.json
)Things to do:
npm-shrinkwrap.json
#19npm install
instead ofnpm ci
npm install
ifnpm ci
fails?