Skip to content

Commit 0f52448

Browse files
committed
ci: use current version of semantic-release and update config
1 parent 6bcd29a commit 0f52448

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
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,12 +42,13 @@ 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 \
4347
@semantic-release/git \
48+
@semantic-release/github \
4449
semantic-release-pypi \
45-
semantic-release-replace-plugin
50+
semantic-release-replace-plugin \
51+
conventional-changelog-conventionalcommits
4652
4753
- name: Run releaser
4854
env:

.releaserc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,9 @@
220220
[
221221
"@semantic-release/github",
222222
{
223-
"publish": true,
224-
"assets": "dist/*.tgz"
223+
"assets": [
224+
"dist/*.tgz"
225+
]
225226
}
226227
]
227228
]

0 commit comments

Comments
 (0)