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 bca6b11 commit 68e71d8Copy full SHA for 68e71d8
1 file changed
.github/workflows/publish.yml
@@ -14,9 +14,17 @@ jobs:
14
15
steps:
16
- uses: actions/checkout@v4
17
+ - uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 'lts'
20
+ registry-url: 'https://registry.npmjs.org'
21
22
- name: Publish package to npmjs.com
- run: npm publish
23
+ - run: npm ci
24
+ - run: npm run build
25
+ - run: npm publish --provenance --access public
26
+ env:
27
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
29
- name: Publish package to jsr.io
30
run: npx jsr publish
0 commit comments