Skip to content

Commit e169529

Browse files
authored
📦 Add semantic-release setup (#1)
Adds `semantic-release` and custom preset packages, and a config file for Travis CI. Also replaces `yorkie` with `husky` for git hooks.
1 parent b8c1efe commit e169529

File tree

4 files changed

+12619
-4020
lines changed

4 files changed

+12619
-4020
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: false
7+
node_js:
8+
- '10'
9+
- '8'
10+
after_success:
11+
- npx travis-deploy-once "npx semantic-release"
12+
branches:
13+
except:
14+
- /^v\d+\.\d+\.\d+$/

CHANGELOG.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Change Log
22

3-
[![Keep a Changelog][img-changelog]][url-changelog]
4-
[![Semantic Versioning][img-semver]][url-semver]
3+
[![Keep a Changelog](https://img.shields.io/badge/keep%20a-changelog-ef5e39.svg?style=flat-square)](https://keepachangelog.com)
4+
[![Semantic Versioning](https://img.shields.io/badge/semantic-versioning-333333.svg?style=flat-square)](https://semver.org)
55

66
All notable changes to this project will be documented in this file.
77

@@ -15,11 +15,3 @@ All notable changes to this project will be documented in this file.
1515
## 0.1.0 — 2018-10-16
1616

1717
### 🎉 Initial project release
18-
19-
[img-changelog]: https://img.shields.io/badge/keep-a%20changelog-ef5e39.svg?style=flat-square
20-
21-
[img-semver]: https://img.shields.io/badge/semantic-versioning-333333.svg?style=flat-square
22-
23-
[url-changelog]: https://keepachangelog.com
24-
25-
[url-semver]: https://semver.org

0 commit comments

Comments
 (0)