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+ - master
7+
8+ permissions :
9+ contents : write
10+ issues : write
11+ pull-requests : write
12+
13+ jobs :
14+ release :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+
23+ - name : Setup Node
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : 24
27+ registry-url : https://registry.npmjs.org
28+ cache : npm
29+
30+ - name : Install
31+ run : npm ci
32+
33+ - name : Test
34+ run : npm test
35+
36+ - name : Build
37+ run : npm run build
38+
39+ - name : Semantic Release
40+ run : npx semantic-release
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [" master" ],
3+ "plugins" : [
4+ " @semantic-release/commit-analyzer" ,
5+ " @semantic-release/release-notes-generator" ,
6+ " @semantic-release/npm" ,
7+ " @semantic-release/github"
8+ ]
9+ }
You can’t perform that action at this time.
0 commit comments