Skip to content

Commit

Permalink
meta: fix publish workflow (#85)
Browse files Browse the repository at this point in the history
- Use arguments recommended by npm when publishing scoped public
packages.
- Use the correct secret for the npm token.
  • Loading branch information
VoltrexKeyva authored Sep 8, 2023
1 parent a49af28 commit 3b46e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
node-version: 18
check-latest: true
registry-url: https://registry.npmjs.org/
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

0 comments on commit 3b46e52

Please sign in to comment.