Skip to content

Commit 263f2ac

Browse files
authored
chore: remove npm auth token
1 parent 5df0e45 commit 263f2ac

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release-and-publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,9 @@ jobs:
8686
# This will tell npm to publish your scoped package with public access
8787
- name: Publish with latest tag
8888
if: ${{ needs.setup_variables.outputs.isLatest == 'true' }}
89-
run: npm publish --access public
90-
env:
91-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
89+
run: npm publish --access public --registry https://npmjs.org
9290

9391
- name: Publish with next tag
9492
if: ${{ needs.setup_variables.outputs.isLatest != 'true' }}
95-
run: npm publish --access public --tag next
96-
env:
97-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
93+
run: npm publish --access public --tag next --registry https://npmjs.org
94+

0 commit comments

Comments
 (0)