What is the equivalent command for npm ci
in pnpm
?
According to the documentation for npm install
:
pnpm install
is used to install all dependencies for a project.In a CI environment, installation fails if a lockfile is present but needs an update.
How is the "CI environment" defined?
What does the following mean? Dependencies could be updated, but the
pnpm-lock.yaml
is not touched?
pnpm i --frozen-lockfile
# pnpm-lock.yaml
is not updated