Skip to content

Commit

Permalink
Fix npm publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Aug 29, 2024
1 parent 5c62c54 commit e0d7623
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'djlint' }}
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
registry-url: 'https://registry.npmjs.org'
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e0d7623

Please sign in to comment.