Skip to content

Commit eba619a

Browse files
committed
🚧 chore: add semantic-release config
1 parent b76b53d commit eba619a

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
29-
run: npm run semantic-release
29+
run: npx semantic-release

.releaserc.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
branches: ['main'],
3+
plugins: [
4+
[
5+
'semantic-release-gitmoji',
6+
{
7+
releaseRules: {
8+
major: [':boom:'],
9+
minor: [':sparkles:'],
10+
patch: [':bug:', ':package:', 'construction']
11+
}
12+
}
13+
],
14+
'@semantic-release/git',
15+
'@semantic-release/github',
16+
'@semantic-release/npm'
17+
]
18+
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ngx-devs/commitlint-plugin-imperative-test",
2+
"name": "@ngx-devs/commitlint-plugin-imperative",
33
"version": "1.0.0",
44
"description": "commitlint plugin to ensure that commits are made using imperative mood",
55
"main": "dist/index.js",

0 commit comments

Comments
 (0)