We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f40503 commit 6e681cdCopy full SHA for 6e681cd
.github/workflows/publish.yml
@@ -28,12 +28,15 @@ jobs:
28
run: bun run build
29
30
- name: Publish to NPM
31
- run: npm publish --dist-tag $(npm pkg get version | tr -d '"' | grep -qoE "^\d+\.\d+\.\d+$" && echo 'latest' || echo 'beta')
+ run: npm publish --tag $(npm pkg get version | tr -d '"' | grep -qoE "^\d+\.\d+\.\d+$" && echo 'latest' || echo 'beta')
32
env:
33
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
34
jsr:
35
name: JSR
36
runs-on: ubuntu-latest
37
+ permissions:
38
+ contents: read
39
+ id-token: write
40
steps:
41
- name: Install Bun
42
uses: oven-sh/setup-bun@v2
0 commit comments