Loading templates/gitlab-ci-node.yml +2 −1 Original line number Diff line number Diff line Loading @@ -407,6 +407,8 @@ stages: - cd ${NODE_PROJECT_DIR} - guess_node_manager_system - config_registry=${NODE_CONFIG_REGISTRY:-$NPM_CONFIG_REGISTRY} # pnpm should be installed before using it - if [ "$NODE_MANAGER" = "pnpm" ]; then check_pnpm_installation; fi # 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 - configure_scoped_registries Loading @@ -416,7 +418,6 @@ stages: 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 ;; Loading Loading
templates/gitlab-ci-node.yml +2 −1 Original line number Diff line number Diff line Loading @@ -407,6 +407,8 @@ stages: - cd ${NODE_PROJECT_DIR} - guess_node_manager_system - config_registry=${NODE_CONFIG_REGISTRY:-$NPM_CONFIG_REGISTRY} # pnpm should be installed before using it - if [ "$NODE_MANAGER" = "pnpm" ]; then check_pnpm_installation; fi # 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 - configure_scoped_registries Loading @@ -416,7 +418,6 @@ stages: 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 ;; Loading