diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d4ab9f..4f84f7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,8 +10,11 @@ cache: - node_modules/ before_script: - - echo "@cellule-financiere-pmo:registry=https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc - - echo "//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc + - echo "@cellule-financiere-pmo:registry=https://gitlab.com/api/v4/projects/71709281/packages/npm/" > .npmrc + - echo "//gitlab.com/api/v4/projects/71709281/packages/npm/:username=${DEPLOY_USER}" >> .npmrc + - echo "//gitlab.com/api/v4/projects/71709281/packages/npm/:_password=$(echo -n ${DEPLOY_TOKEN} | base64)" >> .npmrc + - echo "//gitlab.com/api/v4/projects/71709281/packages/npm/:email=ci@example.com" >> .npmrc + - echo "//gitlab.com/api/v4/projects/71709281/packages/npm/:always-auth=true" >> .npmrc - npm ci unit-tests: