Loading .gitlab-ci.yml +6 −5 Changes for .gitlab-ci.yml: 6 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -7,11 +7,6 @@ stages: variables: PHP_DIR: api JS_DIR: frontend # Neutralise un éventuel proxy mal formé hérité des variables CI/CD du groupe/projet HTTP_PROXY: "" HTTPS_PROXY: "" http_proxy: "" https_proxy: "" default: artifacts: Loading @@ -21,6 +16,9 @@ default: build_js: stage: build script: - unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy npm_config_proxy npm_config_https_proxy - npm config delete proxy || true - npm config delete https-proxy || true - cd $JS_DIR - npm ci - npm run build Loading @@ -44,6 +42,9 @@ publish_js: rules: - if: '$CI_COMMIT_TAG' script: - unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy npm_config_proxy npm_config_https_proxy - npm config delete proxy || true - npm config delete https-proxy || true - cd $JS_DIR - npm ci - echo "@unicaen:registry=https://git.unicaen.fr/api/v4/projects/4318/packages/npm/" > .npmrc Loading Loading
.gitlab-ci.yml +6 −5 Changes for .gitlab-ci.yml: 6 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -7,11 +7,6 @@ stages: variables: PHP_DIR: api JS_DIR: frontend # Neutralise un éventuel proxy mal formé hérité des variables CI/CD du groupe/projet HTTP_PROXY: "" HTTPS_PROXY: "" http_proxy: "" https_proxy: "" default: artifacts: Loading @@ -21,6 +16,9 @@ default: build_js: stage: build script: - unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy npm_config_proxy npm_config_https_proxy - npm config delete proxy || true - npm config delete https-proxy || true - cd $JS_DIR - npm ci - npm run build Loading @@ -44,6 +42,9 @@ publish_js: rules: - if: '$CI_COMMIT_TAG' script: - unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy npm_config_proxy npm_config_https_proxy - npm config delete proxy || true - npm config delete https-proxy || true - cd $JS_DIR - npm ci - echo "@unicaen:registry=https://git.unicaen.fr/api/v4/projects/4318/packages/npm/" > .npmrc Loading