Merge branch 'fix/ci' into 'develop'

fix(ci): replace broken token with CI_JOB_TOKEN

See merge request TransFem-org/sfm-js!4
This commit is contained in:
Marie 2024-04-03 09:19:53 +00:00
commit 707004b4c9

View file

@ -21,7 +21,7 @@ publish-npm:
- package.json - package.json
script: script:
- echo "@transfem-org:registry=https://${CI_SERVER_HOST}/api/v4/projects/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/projects/2/packages/npm/:_authToken=${NPM_TOKEN}" >> .npmrc - echo "//${CI_SERVER_HOST}/api/v4/projects/2/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
- npm i - npm i
- npm run build - npm run build
- npm publish - npm publish