Skip to content

Commit

Permalink
fix: fix ci for releasing package
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Dec 3, 2023
1 parent 168546e commit a633df0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@ jobs:
node-version: 16
registry-url: https://registry.npmjs.org/
scope: "@irsyadadl"
- name: Publish to npm
- name: Publish to npmjs.com
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
- name: Setup Node.js for GitHub Packages
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
scope: "@irsyadadl"
- name: Publish to GitHub Packages
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.PARANOID_GH_TOKEN }}

0 comments on commit a633df0

Please sign in to comment.