update
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jérémi N ‘EndMove’ 2023-04-12 21:52:36 +02:00
parent e2c4e42f37
commit 0fec432a37
Signed by: EndMove
GPG Key ID: 65C4A02E1F5371A4
2 changed files with 4 additions and 4 deletions

View File

@ -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

2
.npmrc Normal file
View File

@ -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}"