ci: Alias NODE_AUTH_TOKEN to NPM_TOKEN for semantic-release verification
This commit is contained in:
@@ -10,7 +10,8 @@ semantic-release:
|
||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||
- ssh-keyscan -H gitlab.com >> ~/.ssh/known_hosts
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
|
||||
- export NPM_TOKEN="${NODE_AUTH_TOKEN}"
|
||||
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
|
||||
- npm install
|
||||
- npm run build
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user