File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,16 @@ jobs:
1717 uses : actions/checkout@v4
1818 with :
1919 fetch-depth : 0
20- - name : Setup Node.js
21- uses : actions /setup-node@v4
20+ - name : Setup Bun
21+ uses : oven-sh /setup-bun@v1
2222 with :
23- node-version : ' lts/*'
23+ bun-version : latest
24+
2425 - name : Install dependencies
25- run : |
26- if [ -f bun.lockb ]; then
27- npm install -g bun
28- bun install
29- else
30- npm install
31- fi
26+ run : bun install
27+
3228 - name : Release
3329 env :
3430 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3531 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
36- run : npx semantic-release
32+ run : bunx semantic-release
Original file line number Diff line number Diff line change 1515 },
1616 "release" : {
1717 "branches" : [
18- " main "
18+ " prod "
1919 ],
2020 "plugins" : [
2121 " @semantic-release/commit-analyzer" ,
You can’t perform that action at this time.
0 commit comments