Skip to content

Commit fa75760

Browse files
committed
fix: 💚 Add missing dependencies for semantic-release
1 parent b945324 commit fa75760

3 files changed

Lines changed: 8 additions & 25 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id-token: write # to enable use of OIDC for npm provenance
2828
strategy:
2929
matrix:
30-
node-version: [16.x, 18.x, 20.x]
30+
node-version: [20.x]
3131
steps:
3232
- name: Cache node modules
3333
id: cache-npm

.releaserc.json

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,8 @@
1212
"plugins": [
1313
"@semantic-release/commit-analyzer",
1414
"@semantic-release/release-notes-generator",
15-
[
16-
"@semantic-release/changelog",
17-
{
18-
"changelogFile": "CHANGELOG.md",
19-
"changelogTitle": "# Semantic Versioning Changelog"
20-
}
21-
],
22-
[
23-
"@semantic-release/git",
24-
{
25-
"assets": ["package.json", "CHANGELOG.md"],
26-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
27-
}
28-
],
29-
[
30-
"@semantic-release/github",
31-
{
32-
"assets": [
33-
{
34-
"path": "release/**"
35-
}
36-
]
37-
}
38-
]
15+
"@semantic-release/npm",
16+
"@semantic-release/git",
17+
"@semantic-release/github"
3918
]
4019
}

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
"@commitlint/cli": "^19.5.0",
3131
"@commitlint/config-conventional": "^19.5.0",
3232
"@commitlint/cz-commitlint": "^19.5.0",
33+
"@semantic-release/changelog": "^6.0.3",
34+
"@semantic-release/commit-analyzer": "^13.0.0",
35+
"@semantic-release/git": "^10.0.1",
36+
"@semantic-release/github": "^11.0.0",
3337
"commitizen": "^4.3.1",
3438
"cross-env": "^7.0.3",
3539
"eslint": "^9.12.0",

0 commit comments

Comments
 (0)