Skip to content

Commit

Permalink
fix: ci publish npm
Browse files Browse the repository at this point in the history
  • Loading branch information
adeherysh authored Apr 16, 2024
1 parent 7e13827 commit a7c5096
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ jobs:
run: bun run build
if: ${{ steps.release.outputs.release_created }}

- name: Publish package
run: npm publish
- name: Publish to npm
run: npm publish --access public # Adjust access level if needed
if: ${{ steps.release.outputs.release_created }}

- name: Publish to GitHub Packages
run: npm publish --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit a7c5096

Please sign in to comment.