Skip to content

Commit a00bc31

Browse files
committed
ci: use current version of semantic-release and update config
1 parent 627da3b commit a00bc31

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
if: github.repository_owner == 'rolehippie'
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: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2
@@ -38,10 +43,11 @@ jobs:
3843
- name: Install releaser
3944
run: |
4045
npm install -g \
41-
conventional-changelog-conventionalcommits@6.1.0 \
42-
semantic-release@23.1.1 \
46+
semantic-release@25.0.2 \
4347
@semantic-release/changelog \
44-
@semantic-release/git
48+
@semantic-release/git \
49+
@semantic-release/github \
50+
conventional-changelog-conventionalcommits
4551
4652
- name: Run releaser
4753
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)