Use `npm ci` to avoid package-lock update
Running `npm ci` instead of `npm install` avoids `package-lock` file update and installation of patch versions different from upstream. This can be useful to avoid git pollution and to have exactly the same version of npm dependencies when debugging or writing an example to reproduce an issue. `npm ci` was added to NPM to be used in Continuous Integration setups (hence the `ci`) keeping exactly the same versions of packages listed in package-lock file.
This commit is contained in:
parent
75ae66a2c1
commit
cbd3d8a8fd