Skip to content

Commit

Permalink
ci: 🎡 Add Semantic-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
joseguerrerov committed Jun 28, 2020
1 parent 490fbab commit 33e15ff
Show file tree
Hide file tree
Showing 4 changed files with 4,197 additions and 103 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
commitlint.config.js
release.config.js
.idea/
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"author": "Jose Guerrero",
"license": "MIT",
"scripts": {
"commit": "npx git-cz"
"commit": "npx git-cz",
"semantic-release": "semantic-release"
},
"husky": {
"hooks": {
Expand All @@ -20,7 +21,9 @@
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"husky": "^4.2.5"
"husky": "^4.2.5",
"semantic-release": "^17.1.1",
"semantic-release-slack-bot": "^1.6.2"
},
"dependencies": {
"node-fetch": "^2.6.0"
Expand Down
15 changes: 15 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/release-notes-generator",
[
"semantic-release-slack-bot",
{
"notifyOnSuccess": true,
"notifyOnFail": true
}
]
]
};
Loading

0 comments on commit 33e15ff

Please sign in to comment.