Skip to content

Commit

Permalink
Merge pull request #4 from buz-zard/travis-yarn
Browse files Browse the repository at this point in the history
Use yarn in CI
  • Loading branch information
Karolis committed Jul 23, 2018
2 parents 2bde983 + 016222b commit c722b43
Show file tree
Hide file tree
Showing 3 changed files with 395 additions and 19 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Expand Up @@ -4,12 +4,14 @@ node_js:
- '9'
- '8'
cache:
yarn: true
directories:
- ~/.npm
- node_modules
script:
- npm run build
- npm run qa
# Demo deployment
- yarn build
- yarn qa
after_success:
- travis-deploy-once && codecov
deploy:
provider: pages
skip-cleanup: true
Expand All @@ -18,6 +20,3 @@ deploy:
on:
branch: master
local-dir: dist
after_success:
- npm install -g travis-deploy-once
- travis-deploy-once && codecov
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -74,6 +74,7 @@
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"serve": "^9.3.0",
"travis-deploy-once": "^5.0.1",
"whatwg-fetch": "^2.0.4"
},
"config": {
Expand Down

0 comments on commit c722b43

Please sign in to comment.