Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Setup semantic-release (#247)
* chore(ci): setup semantic-release * run semantic-release only for push event to master branch and only for node 12 CI runs.
- Loading branch information
1 parent
8df9848
commit 9b6e5f8
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
debug: true, | ||
branch: 'master', | ||
verifyConditions: [ | ||
'@semantic-release/changelog', | ||
'@semantic-release/npm', | ||
'@semantic-release/github' | ||
], | ||
prepare: [ | ||
'@semantic-release/changelog', | ||
'@semantic-release/npm', | ||
'@semantic-release/git' | ||
], | ||
publish: [ | ||
'@semantic-release/npm', | ||
'@semantic-release/github' | ||
], | ||
success: [ | ||
'@semantic-release/github' | ||
] | ||
} |