Loading templates/gitlab-ci-node.yml +5 −1 Original line number Diff line number Diff line Loading @@ -406,7 +406,6 @@ stages: - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd ${NODE_PROJECT_DIR} - guess_node_manager_system - if [ "$NODE_MANAGER" = "pnpm" ]; then check_pnpm_installation; fi - config_registry=${NODE_CONFIG_REGISTRY:-$NPM_CONFIG_REGISTRY} # NPM_CONFIG_REGISTRY is not supported by old npm versions: force with cli - if [[ "$config_registry" ]]; then $NODE_MANAGER config set registry $config_registry; fi Loading @@ -416,6 +415,11 @@ stages: npm) npm ci --prefer-offline $NODE_INSTALL_EXTRA_OPTS ;; pnpm) check_pnpm_installation # leave automatic lockfile policy (see: https://pnpm.io/cli/install#--frozen-lockfile) pnpm install --prefer-offline $NODE_INSTALL_EXTRA_OPTS ;; yarn) yarn install --immutable --immutable-cache --check-cache $NODE_INSTALL_EXTRA_OPTS ;; Loading Loading
templates/gitlab-ci-node.yml +5 −1 Original line number Diff line number Diff line Loading @@ -406,7 +406,6 @@ stages: - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" - cd ${NODE_PROJECT_DIR} - guess_node_manager_system - if [ "$NODE_MANAGER" = "pnpm" ]; then check_pnpm_installation; fi - config_registry=${NODE_CONFIG_REGISTRY:-$NPM_CONFIG_REGISTRY} # NPM_CONFIG_REGISTRY is not supported by old npm versions: force with cli - if [[ "$config_registry" ]]; then $NODE_MANAGER config set registry $config_registry; fi Loading @@ -416,6 +415,11 @@ stages: npm) npm ci --prefer-offline $NODE_INSTALL_EXTRA_OPTS ;; pnpm) check_pnpm_installation # leave automatic lockfile policy (see: https://pnpm.io/cli/install#--frozen-lockfile) pnpm install --prefer-offline $NODE_INSTALL_EXTRA_OPTS ;; yarn) yarn install --immutable --immutable-cache --check-cache $NODE_INSTALL_EXTRA_OPTS ;; Loading