Skip to content

Commit c220fd9

Browse files
committed
ci(semantic-release): added release configuration
1 parent 2b80538 commit c220fd9

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.releaserc.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"branches": [
3+
"main",
4+
{
5+
"name": "next",
6+
"prerelease": true
7+
}
8+
],
9+
"debug": true,
10+
"ci": true,
11+
"dryRun": false,
12+
"plugins": [
13+
["@semantic-release/commit-analyzer"],
14+
["@semantic-release/release-notes-generator"],
15+
[
16+
"@semantic-release/changelog",
17+
{
18+
"changelogFile": "CHANGELOG.md"
19+
}
20+
],
21+
"@semantic-release/npm",
22+
"@semantic-release/github",
23+
[
24+
"@semantic-release/git",
25+
{
26+
"assets": ["package.json", "package-lock.json", "./CHANGELOG.md"],
27+
"message": "chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
28+
}
29+
]
30+
]
31+
}

commitlint.config.cjs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const COMMITLINT_CONFIG = {
2+
extends: ["@commitlint/config-conventional"],
3+
};
4+
5+
module.exports = COMMITLINT_CONFIG;

0 commit comments

Comments
 (0)