Skip to content

Commit 3a718a5

Browse files
committed
A new attempt to authorize NPM
1 parent 31fbb9d commit 3a718a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ jobs:
4747
run: yarn run gen-public-package.json
4848
- name: Generate public README.md
4949
run: cp README.md dist/
50-
- name: NPM Authentication
51-
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
52-
env:
53-
NPM_TOKEN: ${{secrets.npm_token}}
5450
- run: npm publish dist --access public
51+
env:
52+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5553
- run: git push --no-verify & git push --tags --no-verify

0 commit comments

Comments
 (0)