File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
2828 - name : Build package
2929 run : npm run build
3030
31- # - name: Set up npm authentication
32- # run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
31+ - name : Set up npm authentication
32+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
3333
34- - name : Publish to GitHub Packages
35- run : npm publish --provenance --access public
34+ - name : Publish package to npm registry
35+ run : npm publish
3636 env :
3737 NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change 1- //registry.npmjs.org/:_authToken = ${ NPM_PUBLISH_TOKEN }
1+ //registry.npmjs.org/:_authToken = ${ NODE_AUTH_TOKEN }
2+ registry = https://registry.npmjs.org/
3+ always-auth = true
You can’t perform that action at this time.
0 commit comments