Skip to content

Commit f86f865

Browse files
committed
ci: use current version of semantic-release and update config
1 parent 091ca67 commit f86f865

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
@@ -42,10 +47,11 @@ jobs:
4247
- name: Install releaser
4348
run: |
4449
npm install -g \
45-
conventional-changelog-conventionalcommits@6.1.0 \
46-
semantic-release@23.1.1 \
50+
semantic-release@25.0.2 \
4751
@semantic-release/changelog \
48-
@semantic-release/git
52+
@semantic-release/git \
53+
@semantic-release/github \
54+
conventional-changelog-conventionalcommits
4955
5056
- name: Run releaser
5157
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",
@@ -121,7 +111,7 @@
121111
[
122112
"@semantic-release/github",
123113
{
124-
"publish": true
114+
"assets": []
125115
}
126116
]
127117
]

0 commit comments

Comments
 (0)