Skip to content

Commit 63b937b

Browse files
committed
feat: add semantic release configuration and update release workflow
1 parent 873605f commit 63b937b

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
1112
steps:
1213
- name: Checkout branch
1314
uses: actions/checkout@v4

.releaserc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
branches: ["main"],
3+
plugins: [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
"@semantic-release/changelog",
7+
"@semantic-release/github",
8+
"@semantic-release/npm",
9+
],
10+
};

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@
4545
"rimraf": "^6.0.1",
4646
"semantic-release": "^24.2.3"
4747
},
48-
"release": {
49-
"branches": [
50-
"main"
51-
]
52-
},
5348
"packageManager": "pnpm@10.6.2",
5449
"engines": {
5550
"node": ">=18.0.0"

0 commit comments

Comments
 (0)