File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ publish-release :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - uses : oven-sh/setup-bun@v1
13
+ with :
14
+ bun-version : 1.1.3
15
+ - run : bun install --frozen-lockfile
16
+ working-directory : ./main
17
+ - run : bun run build
18
+ working-directory : ./main
19
+ - uses : actions/setup-node@v4
20
+ with :
21
+ node-version : 20.x
22
+ - run : npm publish
23
+ with :
24
+ working-directory : ./main
25
+ env :
26
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 19
19
"directory" : " main"
20
20
},
21
21
"scripts" : {
22
- "build" : " bun run build.js --bun" ,
23
- "publish" : " npm publish"
22
+ "build" : " bun run build.js --bun"
24
23
},
25
24
"peerDependencies" : {
26
25
"react" : " ^17.0.0 || ^18.0.0" ,
You can’t perform that action at this time.
0 commit comments