Skip to content

Commit 7f3350f

Browse files
committed
add: beta action
1 parent 5640103 commit 7f3350f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
28+
token: ${{ secrets.NPM_TOKEN }}
29+
access: "public"
30+
provenance: true
31+
tag: "beta"

0 commit comments

Comments
 (0)