-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(semantic-release): setup automated releases
- Loading branch information
Showing
4 changed files
with
3,123 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
if: tag IS blank | ||
|
||
language: node_js | ||
node_js: | ||
- stable | ||
install: | ||
- yarn install | ||
script: | ||
- yarn run check-types | ||
- yarn test | ||
- yarn run check-formatting | ||
after_success: yarn run coverage | ||
node_js: stable | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
name: "Unit tests, type checking, linting, etc." | ||
script: | ||
- yarn run check-types | ||
- yarn test | ||
- yarn commitlint-travis | ||
- yarn build | ||
after_success: yarn run coverage | ||
- stage: release | ||
name: "Release on npm" | ||
deploy: | ||
provider: script | ||
skip_cleanup: true | ||
script: | ||
- yarn semantic-release |
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 @@ | ||
module.exports = { extends: ["@commitlint/config-conventional"] }; |
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
Oops, something went wrong.