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 5640103 commit 7f3350fCopy full SHA for 7f3350f
1 file changed
.github/workflows/npm-beta-publish.yml
@@ -0,0 +1,31 @@
1
+name: Publish to NPM (Beta branches)
2
+permissions:
3
+ id-token: write
4
+ contents: read
5
+
6
+on:
7
+ push:
8
+ branches:
9
+ - 'beta/**'
10
+ - 'next/**'
11
+ - 'canary/**'
12
13
+jobs:
14
+ publish:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-node@v3
19
+ with:
20
+ node-version: "22"
21
+ - uses: oven-sh/setup-bun@v2
22
+ - name: Install Dependencies
23
+ run: bun install --frozen-lockfile
24
+ - name: Build Project
25
+ run: bun run build
26
+ - uses: JS-DevTools/npm-publish@v3
27
28
+ token: ${{ secrets.NPM_TOKEN }}
29
+ access: "public"
30
+ provenance: true
31
+ tag: "beta"
0 commit comments