Skip to content

Commit

Permalink
feat: npm publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnarus-G committed Mar 9, 2024
1 parent bc5f58f commit 6a209b8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,22 @@ jobs:
- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
publish-npm:
name: Publish to npmjs.com
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v2
with:
version: 8.6.6
run_install: |
- recursive: true
args: [--frozen-lockfile]
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6a209b8

Please sign in to comment.