File tree Expand file tree Collapse file tree 4 files changed +6761
-293
lines changed Expand file tree Collapse file tree 4 files changed +6761
-293
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches : [main]
5+ jobs :
6+ release :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ with :
11+ fetch-depth : 0
12+ - uses : actions/setup-node@v4
13+ with :
14+ node-version : " 16.x"
15+ cache : " npm"
16+ - run : npm ci
17+ - run : npx semantic-release
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
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/npm" ,
7+ " @semantic-release/github" ,
8+ [
9+ " @semantic-release/git" ,
10+ {
11+ "assets" : [" package.json" ],
12+ "message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
13+ }
14+ ]
15+ ]
16+ }
You can’t perform that action at this time.
0 commit comments