npm 5.8 introduced a ci command designed to install dependencies on continuous integration environment. It's much faster, reliable and secure as it ensures package-lock.json matches with package.json.
Let's see how we can use this command instead of npm install in this context.