$ ./guess_the_languageDevOps
DevOps · easy · #108

Why prefer 'npm ci' in pipelines?

npm ci && npm test
  1. Clean install from the lockfile
  2. It skips running any tests
  3. It edits package versions
  4. It publishes the package
npm ci installs exactly what the lockfile pins, giving reproducible builds.
Play DevOps ▸