File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Semantic Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ issues : write
14+ pull-requests : write
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+ persist-credentials : false
20+
21+ - name : Set up pnpm
22+ uses : pnpm/action-setup@v4
23+ with :
24+ version : 10.17.1
25+ run_install : false
26+
27+ - name : Download deps
28+ shell : bash
29+ run : pnpm install
30+
31+ - name : package build
32+ shell : bash
33+ run : pnpm build
34+
35+ - name : Semantic Release
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ run : npx semantic-release
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [" main" ],
3+ "plugins" : [
4+ " @semantic-release/commit-analyzer" ,
5+ " @semantic-release/release-notes-generator" ,
6+ " @semantic-release/github"
7+ ]
8+ }
You can’t perform that action at this time.
0 commit comments