File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : write
10+ id-token : write
11+
12+ jobs :
13+ release :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 22
25+
26+ - name : Setup Bun
27+ uses : oven-sh/setup-bun@v1
28+ with :
29+ bun-version : latest
30+
31+ - name : Install dependencies
32+ run : bun install
33+
34+ - name : Build
35+ run : bun run build
36+
37+ - name : Release
38+ run : bunx semantic-release
39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ GIT_AUTHOR_NAME : github-actions[bot]
42+ GIT_AUTHOR_EMAIL : github-actions[bot]@users.noreply.github.com
43+ GIT_COMMITTER_NAME : github-actions[bot]
44+ GIT_COMMITTER_EMAIL : github-actions[bot]@users.noreply.github.com
You can’t perform that action at this time.
0 commit comments