hotfix: yarn cache clean for CI

This commit is contained in:
Michael Bradley, Jr 2018-11-27 14:48:30 -06:00
parent cb4f18c4c2
commit 885d07483e
2 changed files with 3 additions and 1 deletions

View File

@ -10,8 +10,9 @@ before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.3
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
cache:
yarn: false
yarn: true
install:
- yarn cache clean
- yarn install
- cd embark-ui && yarn install && cd ..
- git status && test -z "$(git status --porcelain)"

View File

@ -12,6 +12,7 @@ install:
- rm yarn-1.12.3.msi
- node --version
- yarn --version
- yarn cache clean
- yarn install
- cd embark-ui && yarn install && cd ..
- git status && node -e "process.exit(require('child_process').execSync('git status --porcelain').toString().trim()===''?0:1)"