Skip to content

Commit

Permalink
Add continuous integration via Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cuchi committed Oct 8, 2019
1 parent a98381a commit f074dcf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js

node_js:
- "8"
- "10"
- "12"

install:
- npm install
- npm run bootstrap

script:
- npm run prettier:check
- npm run build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"scripts": {
"prettier": "prettier --write \"{client, server, commons}/**/*.ts\"",
"prettier:check": "prettier --check \"{client, server, commons}/**/*.ts\"",
"bootstrap": "lerna bootstrap --hoist",
"build": "lerna run build --stream",
"fresh": "npm run start:fresh",
Expand Down

0 comments on commit f074dcf

Please sign in to comment.