Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Install task uses 'npm ci' command in CI env w/package-lock.json

Compare
Choose a tag to compare
@andygout andygout released this 25 Nov 08:54
160372f

If in a CI environment and a package-lock.json exists, the npm ci command will be called to freshly install node_modules from package-lock.json.

npm ci is the install command intended for use in CI environments and is faster and safer than npm install (safer because installs will fail if package-lock.json is inconsistent with package.json).