Skip to content

Commit

Permalink
updated: publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiIgna committed Sep 12, 2024
1 parent bca6b11 commit 68e71d8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts'
registry-url: 'https://registry.npmjs.org'

- name: Publish package to npmjs.com
run: npm publish
- run: npm ci
- run: npm run build
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish package to jsr.io
run: npx jsr publish

0 comments on commit 68e71d8

Please sign in to comment.