TIL: npm ci is a thing. Running that command instead of npm install removes the node_modules directory and downloads exact versions of your dependencies from your package-lock.json

npm ci vs. npm install , Which Should You Use in Your Node.js Projects? (external link, opens in a new tab)