Skip to content

Commit f3c26f4

Browse files
committed
ci: replace release scripts and use current version of semantic-release
1 parent d824916 commit f3c26f4

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18+
- name: Setup nodejs
19+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
20+
with:
21+
node-version: lts/*
22+
1823
- name: Generate token
1924
id: token
2025
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2
@@ -37,10 +42,11 @@ jobs:
3742
- name: Install releaser
3843
run: |
3944
npm install -g \
40-
conventional-changelog-conventionalcommits@6.1.0 \
41-
semantic-release@23.1.1 \
45+
semantic-release@25.0.2 \
4246
@semantic-release/changelog \
43-
@semantic-release/git
47+
@semantic-release/git \
48+
@semantic-release/github \
49+
conventional-changelog-conventionalcommits
4450
4551
- name: Run releaser
4652
env:

.releaserc

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,29 +56,14 @@
5656
"type": "major",
5757
"section": "Features"
5858
},
59-
{
60-
"type": "deps",
61-
"scope": "major",
62-
"section": "Features"
63-
},
6459
{
6560
"type": "minor",
6661
"section": "Features"
6762
},
68-
{
69-
"type": "deps",
70-
"scope": "minor",
71-
"section": "Features"
72-
},
7363
{
7464
"type": "patch",
7565
"section": "Bugfixes"
7666
},
77-
{
78-
"type": "deps",
79-
"scope": "patch",
80-
"section": "Bugfixes"
81-
},
8267
{
8368
"type": "feat",
8469
"section": "Features"
@@ -87,9 +72,14 @@
8772
"type": "fix",
8873
"section": "Bugfixes"
8974
},
75+
{
76+
"type": "deps",
77+
"section": "Dependencies"
78+
},
9079
{
9180
"type": "chore",
92-
"hidden": true
81+
"section": "Miscellaneous",
82+
"hidden": false
9383
},
9484
{
9585
"type": "docs",
@@ -122,7 +112,7 @@
122112
[
123113
"@semantic-release/github",
124114
{
125-
"publish": true
115+
"assets": []
126116
}
127117
]
128118
]

0 commit comments

Comments
 (0)