This commit is contained in:
@@ -49,8 +49,5 @@ steps:
|
||||
- corepack enable
|
||||
- corepack prepare yarn@1.22.22 --activate
|
||||
- yarn install --frozen-lockfile
|
||||
- export NEXUS_NPM_REGISTRY="https://nexus.beatrice.wtf/repository/npm-hosted/"
|
||||
- REGISTRY_HOST="${NEXUS_NPM_REGISTRY#https://}"
|
||||
- REGISTRY_HOST="${REGISTRY_HOST#http://}"
|
||||
- printf "//%s:_authToken=%s\n" "$REGISTRY_HOST" "$NEXUS_NPM_TOKEN" > "$HOME/.npmrc"
|
||||
- npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN"
|
||||
- yarn publish:nexus
|
||||
|
||||
Reference in New Issue
Block a user