Skip to content

Commit 3885adf

Browse files
ci: Fix npm authentication
1 parent b8af3cb commit 3885adf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
- name: Publish to npm
3939
run: npm publish
4040
env:
41-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
41+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
registry=https://registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
1+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

0 commit comments

Comments
 (0)