yarn install --frozen-lockfile
Category: Node.js & npm/yarn
yarn install --frozen-lockfile
Install without updating yarn.lock — fails if lockfile would change, ideal for CI
Installs from yarn.lock without modifying it. Fails if the lockfile is out of sync with package.json — the correct way to install in CI.