Open sebmos opened 2 years ago
For automated deployment scripts, NPM suggests using npm ci instead of npm install: https://docs.npmjs.com/cli/v8/commands/npm-ci
npm ci
npm install
The main advantage for this action would be that it "locks" the dependencies in place and wouldn't update package-lock.json, providing more certainty that things won't change unexpectedly.
package-lock.json
For automated deployment scripts, NPM suggests using
npm ci
instead ofnpm install
: https://docs.npmjs.com/cli/v8/commands/npm-ciThe main advantage for this action would be that it "locks" the dependencies in place and wouldn't update
package-lock.json
, providing more certainty that things won't change unexpectedly.