Skip to content

Commit 2d5ad00

Browse files
committed
added jsr publishing task
1 parent b48f8c3 commit 2d5ad00

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/npm.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [created]
66

77
jobs:
8-
test:
8+
npm_publish:
99
strategy:
1010
matrix:
1111
node-version: [22.x]
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout nuid
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 1
2424
- name: Use Node.js ${{ matrix.node-version }}
@@ -42,5 +42,8 @@ jobs:
4242
- run: npm publish --provenance --access public --tag=latest
4343
env:
4444
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
- run: npx jsr publish
46+
47+
4548

4649

0 commit comments

Comments
 (0)