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 6e7e4ed commit bac74ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Publish
on:
workflow_dispatch:
push:
tags:
- v*
Expand All @@ -20,6 +21,9 @@ jobs:
if: ${{ github.repository_owner == 'djlint' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit bac74ba

Please sign in to comment.