Skip to content

Commit d0bd0b4

Browse files
author
Daniel Schmidt
committed
chore: enable semantic-release
1 parent 1e7f978 commit d0bd0b4

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.travis.yml

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

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"prepare": "npm run build",
99
"prebuild": "npm run clean",
1010
"build": "tsc -p tsconfig.dist.json",
11-
"semantic-release": "semantic-release"
11+
"semantic-release": "semantic-release",
12+
"travis-deploy-once": "travis-deploy-once"
1213
},
1314
"main": "./dist/index.js",
1415
"typings": "dist/index",
@@ -37,7 +38,8 @@
3738
"react": "16.8.0-alpha.1",
3839
"semantic-release": "^15.13.3",
3940
"ts-jest": "^23.10.5",
40-
"typescript": "^3.2.4"
41+
"typescript": "^3.2.4",
42+
"travis-deploy-once": "^5.0.11"
4143
},
4244
"peerDependencies": {
4345
"react": ">= 16.8.0-alpha.1"

0 commit comments

Comments
 (0)