Update .gitlab-ci.yml file

This commit is contained in:
Marie 2024-02-02 19:40:41 +00:00
parent 87b0c5fb1c
commit edb4f9ec3b

View file

@ -20,8 +20,8 @@ publish-npm:
paths: paths:
- package.json - package.json
script: script:
- echo "@sharkey:registry=https://${CI_SERVER_HOST}/api/v4/groups/2/packages/npm/" > .npmrc - echo "@transfem-org:registry=https://${CI_SERVER_HOST}/api/v4/projects/2/packages/npm/" > .npmrc
- echo "//${CI_SERVER_HOST}/api/v4/groups/2/packages/npm/:_authToken=${NPM_TOKEN}" >> .npmrc - echo "//${CI_SERVER_HOST}/api/v4/projects/2/packages/npm/:_authToken=${NPM_TOKEN}" >> .npmrc
- npm i - npm i
- npm run build - npm run build
- npm publish - npm publish