ci: Alias NODE_AUTH_TOKEN to NPM_TOKEN for semantic-release verification

This commit is contained in:
Lukas May
2026-03-06 16:53:14 +01:00
parent 91efbabee6
commit a30f98d532

View File

@@ -10,7 +10,8 @@ semantic-release:
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
- ssh-keyscan -H gitlab.com >> ~/.ssh/known_hosts - ssh-keyscan -H gitlab.com >> ~/.ssh/known_hosts
- chmod 600 ~/.ssh/id_ed25519 - 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 install
- npm run build - npm run build
script: script: