💚 fix: test deployment fixed
This commit is contained in:
parent
6b5acc6002
commit
c530c03e51
|
@ -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
|
Loading…
Reference in New Issue
Block a user