Skip to content

Commit b35db4d

Browse files
committed
Fix npm publish auth
1 parent a5595b1 commit b35db4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
- uses: actions/checkout@v4
2222

2323
- uses: actions/setup-node@v4.4.0
24+
with:
25+
# Needed for NODE_AUTH_TOKEN env var to work for npm publish
26+
# https://github.com/actions/setup-node#:~:text=NODE_AUTH_TOKEN.%0A%20%20%20%20%23%20Default%3A%20%27%27-,registry,-%2Durl%3A%20%27
27+
registry-url: https://registry.npmjs.org
2428

2529
- run: npm install
2630

0 commit comments

Comments
 (0)