💚 fix: package publication error fixed

This commit is contained in:
Paul Valerie GOMA 2025-07-29 11:23:08 +02:00
parent d202205e5e
commit e01dd93629

View File

@ -10,11 +10,8 @@ cache:
- node_modules/
before_script:
- 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=${NPM_DEPLOY_USER}" >> .npmrc
- echo "//gitlab.com/api/v4/projects/71709281/packages/npm/:_password=$(echo -n ${NPM_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
- 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
- npm ci
unit-tests: