▲ | josefbud 4 days ago | ||||||||||||||||
Sorry, I had assumed this was what you were doing when I wrote my question but I should have specified. And sorry for now making your npm install step twice as long! ;) | |||||||||||||||||
▲ | rimunroe 4 days ago | parent [-] | ||||||||||||||||
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. | |||||||||||||||||
|