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.
np
1 parent 9d56900 commit 44c365aCopy full SHA for 44c365a
3 files changed
.github/workflows/release.yml
@@ -0,0 +1,31 @@
1
+name: release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ npm:
13
+ name: publish-to-npm
14
+ runs-on: ubuntu-latest
15
16
+ permissions:
17
18
+ id-token: write
19
20
+ steps:
21
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
22
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
23
+ with:
24
+ node-version: 24.x
25
+ registry-url: 'https://registry.npmjs.org'
26
+ - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
27
+ - run: npm install -g npm@11.17.0
28
+ - run: bun install --frozen-lockfile
29
+ - run: bun run build
30
+ - name: Publish to npm
31
+ run: npm publish --provenance --access public
0 commit comments