Skip to content

Commit 3b45735

Browse files
committed
ci: use current version of semantic-release and update config
1 parent 64632b5 commit 3b45735

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
@@ -16,6 +16,11 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19+
- name: Setup nodejs
20+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
21+
with:
22+
node-version: lts/*
23+
1924
- name: Generate token
2025
id: token
2126
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # 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)