npm i vs npm ci in GitHub Workflows
jwulf opened this issue · 1 comments
jwulf commented
npm ci
respects the package-lock.json
file, resulting in deterministic installs.
However, users will install the package using npm i
, which does not.
So, running npm ci
in automated tests is not going to replicate the user's experience.
jwulf commented
I'm going to go with npm i
for the CI tasks.