We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b6b2c commit a1b1cbfCopy full SHA for a1b1cbf
.github/workflows/publish.yml
@@ -6,15 +6,18 @@ on:
6
- 'v2.*'
7
8
jobs:
9
- build:
+ publish:
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
steps:
15
- name: Checkout
- uses: actions/checkout@v3
16
+ uses: actions/checkout@v4
17
with:
18
fetch-depth: 0
19
- - name: Setup node
20
+ - name: Publish to NPM
21
uses: actions/setup-node@v3
22
23
node-version: '18'
@@ -25,3 +28,5 @@ jobs:
25
28
- run: npm publish
26
29
env:
27
30
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31
+ - name: Publish to JSR
32
+ - run: npx jsr publish
0 commit comments