DEV Community

Discussion on: GitLab CI: Cache and Artifacts explained by example

drakulavich profile image
Anton Yakutovich Author

If you compare the time on the clean system, I bet npm ci would be faster than npm install. Cause it just downloads full tree of dependencies from package-lock.json. npm install will check which deps can be updated and build new dependency tree.