Skip to content
Snippets Groups Projects
Unverified Commit e3bec016 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Try npm (#36)

parent c6c300ee
No related branches found
No related tags found
No related merge requests found
Pipeline #14686 failed
...@@ -24,10 +24,10 @@ publish: ...@@ -24,10 +24,10 @@ publish:
- master - master
script: script:
- echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc - echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
- echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > packages/auth/.npmrc # - echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > packages/auth/.npmrc
- sudo npm install --global can-npm-publish # - sudo npm install --global can-npm-publish
# - yarn config set registry https://registry.npmjs.org/ # - yarn config set registry https://registry.npmjs.org/
- yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache" - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"
- yarn install - yarn install
- npm whoami - npm whoami
- yarn run publish - npm run publish
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment