4 ms·
npm ci should be much faster in CI as it can install the exact dependency versions directly from the lockfile rather than having to go through the whole depende
by rimunroe 1y ago
npm ci should be much faster in CI as it can install the exact dependency versions directly from the lockfile rather than having to go through the whole dependency resolution algorithm. In CI environments you don't have to wait to delete a potentially large pre-existing node_modules directory since you should be starting fresh each time anyway.
- josefbud 1y agoI've seen pipelines that cache node modules between runs to save time, but yeah if they're not doing that then you're totally right.
- thunderfork 1y ago[dead]