Force Download Dependencies now available in pipeline
February 27, 2023
An option to force download dependencies for NPM projects is now available. When enabled, each job in the pipeline that requires dependencies (i.e. node_modules) will download them rather than relying on the cache. This option prevents issues caused by the cache being cleared during a pipeline run.
By default, this feature is turned off in your project. To turn on force download dependency, set FORCE_DOWNLOAD_DEPENDENCIES
to true
in your GitLab project’s Settings→CI/CD→Variables.
INFO
Enabling this may increase pipeline runtimes.