Skip to content

Commit

Permalink
Merge pull request #212 from hildjj/npx
Browse files Browse the repository at this point in the history
use npx to run monopub
  • Loading branch information
hildjj authored Oct 27, 2024
2 parents 6da12c2 + 563884f commit 2f4e4a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
publish_branch: gh-pages
destination_dir: docs
- run: monopub delete devDependencies,scripts
- run: monopub exec 'npm publish --access public --provenance'
- run: npx monopub delete devDependencies,scripts
- run: npx monopub exec 'npm publish --access public --provenance'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 2f4e4a8

Please sign in to comment.