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+ ---
2+ name : Semantic Release
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ release :
11+ name : Release
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : write # to be able to publish a GitHub release
15+ issues : write # to be able to comment on released issues
16+ pull-requests : write # to be able to comment on released pull requests
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Setup Node.js
25+ uses : actions/setup-node@v4
26+ with :
27+ node-version : " lts/*"
28+
29+ - name : Install Semantic Release
30+ run : >
31+ npm install
32+ semantic-release
33+ conventional-changelog-conventionalcommits
34+ @semantic-release/changelog
35+ @semantic-release/exec
36+ @semantic-release/git
37+ semantic-release-major-tag
38+
39+ - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
40+ run : npm audit signatures
41+
42+ - name : Run Semantic Release
43+ run : npx semantic-release
Original file line number Diff line number Diff line change 1+ ---
2+ branches :
3+ - main
4+ plugins :
5+ - - "@semantic-release/commit-analyzer"
6+ - preset : conventionalcommits
7+ - - "@semantic-release/release-notes-generator"
8+ - preset : conventionalcommits
9+ - " @semantic-release/github"
10+ - - "@semantic-release/changelog"
11+ - changelogTitle : ' # Changelog'
12+ - - "@semantic-release/git"
13+ - assets :
14+ - CHANGELOG.md
15+ - semantic-release-major-tag
You can’t perform that action at this time.
0 commit comments