Skip to content

Commit

Permalink
solve npm-package
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 3, 2024
1 parent e55de27 commit c2cfa0e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ jobs:
- run: npm i
- run: npm run prepare
- run: npm run build
#
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/ # Adjust according to your build output directory
asset_name: dist
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c2cfa0e

Please sign in to comment.