Skip to content

Commit 2769118

Browse files
Merge pull request #52 from zalando/node-auth-token
add NODE_AUTH_TOKEN
2 parents 95cc202 + 7dfe80b commit 2769118

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
with:
2929
node-version: 18
3030
registry-url: https://registry.npmjs.org/
31+
always-auth: true
32+
env:
33+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # required for semantic-release / CI
3135
- name: Enable Corepack (Yarn 4)
3236
run: corepack enable
3337
- run: yarn install --immutable
@@ -38,3 +42,4 @@ jobs:
3842
env:
3943
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4044
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # required for semantic-release / CI

0 commit comments

Comments
 (0)