simplify yarn caching

This commit is contained in:
Niklas Fiekas 2017-05-20 12:20:33 +02:00
parent 62018b9d62
commit b72b590a7a

View file

@ -58,12 +58,7 @@ jobs:
after_success:
- git log -n 1 --pretty=oneline > commit.txt
- tar -zcf "lila-assets-${TRAVIS_BRANCH}.tar.gz" public LICENSE COPYING.md README.md commit.txt
before_cache:
- yarn cache dir
- rm -rf $HOME/.cache/yarn/v1/npm-{types,common,chess,game,tree,ceval}-*
cache:
directories:
- $HOME/.cache/yarn
cache: yarn
addons:
artifacts: