Skip to content

Commit

Permalink
fix(workflows): npm-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Hejtmus committed Oct 16, 2024
1 parent d2d1692 commit fa0a2c4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -29,5 +32,5 @@ jobs:
- name: Publish signed package
run: npm publish --access public --provenance
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit fa0a2c4

Please sign in to comment.