💚 fix: test deployment fixed
This commit is contained in:
parent
6b5acc6002
commit
c530c03e51
|
@ -10,6 +10,8 @@ cache:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
|
||||||
before_script:
|
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
|
- npm ci
|
||||||
|
|
||||||
unit-tests:
|
unit-tests:
|
||||||
|
@ -26,8 +28,6 @@ unit-tests:
|
||||||
publish-npm:
|
publish-npm:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
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
|
- npm publish
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
Loading…
Reference in New Issue
Block a user