💚 fix: test deployment fixed

This commit is contained in:
Paul Valerie GOMA 2025-07-20 01:01:30 +02:00
parent 6b5acc6002
commit c530c03e51

View File

@ -10,6 +10,8 @@ cache:
- node_modules/
before_script:
- echo "@cellule-financiere-pmo:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
- npm ci
unit-tests:
@ -26,8 +28,6 @@ unit-tests:
publish-npm:
stage: deploy
script:
- echo "@cellule-financiere-pmo:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
- npm publish
only:
- tags