diff --git a/.drone.yml b/.drone.yml index 8621c99..ecf03e1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,9 +20,7 @@ steps: - echo $SNAPSHOT - npm ci - npm version $SNAPSHOT - # - npm config set @ioprojects:registry https://git.endmove.eu/api/packages/io-projectsofficial/npm/ -g - # - npm config set -- '//git.endmove.eu/api/packages/io-projectsofficial/npm/${GITEA_TOKEN}' -g - - npm install -g npm-cli-login - - npm-cli-login -u IO-Projects -e contact@io-projects.com -p $GITEA_TOKEN -s @ioprojects -r https://git.endmove.eu/api/v1/packages/io-projectsofficial/ioprojects-ui-eslint-base/npm/ + # - npm install -g npm-cli-login + # - npm-cli-login -u IO-Projects -e contact@io-projects.com -p $GITEA_TOKEN -s @ioprojects -r https://git.endmove.eu/api/v1/packages/io-projectsofficial/ioprojects-ui-eslint-base/npm/ - npm publish - npm dist-tag add @ioprojects/ui-eslint-base@${SNAPSHOT} snapshot diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..ff921e8 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +@ioprojects:registry=https://git.endmove.eu/api/packages/io-projectsofficial/npm/ +//git.endmove.eu/api/packages/io-projectsofficial/npm/:_authToken="${GITEA_TOKEN}"