File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Manual - Release
3+
4+ on :
5+ workflow_dispatch :
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ release :
12+ name : Release
13+ runs-on : ubuntu-24.04
14+ permissions :
15+ contents : write
16+ id-token : write
17+ issues : write
18+ pull-requests : write
19+ if : ${{ github.ref == 'refs/heads/main' }}
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+ with :
24+ fetch-depth : 0
25+ - name : Setup node
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : " lts/*"
29+ - name : Copy rules
30+ run : |
31+ cp .github/config/.releaserc.json .
32+ - name : Install dependencies
33+ run : |
34+ npm install --location=global semantic-release@23.0.0 \
35+ @semantic-release/changelog@6.0.3 \
36+ @semantic-release/commit-analyzer@11.1.0 \
37+ @semantic-release/exec@6.0.3 \
38+ @semantic-release/git@10.0.1 \
39+ @semantic-release/gitlab@13.0.2 \
40+ @semantic-release/npm@11.0.2 \
41+ @semantic-release/release-notes-generator@12.1.0 \
42+ @commitlint/cli@18.4.4 \
43+ @commitlint/config-conventional@18.4.4 \
44+ conventional-changelog-conventionalcommits@7.0.2
45+ - name : Release
46+ run : npx semantic-release
47+ env :
48+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments