Optimise gitlab build pipeline to reduce the build time
npm install generates the same output across all of the builds. So we can prepare a cache using the node_modules so that npm install doesn't result in the installation of the existing modules and it only installs the new modules and store the new cache so that it is reused in the next pipeline run.