Run yarn twice on CI

This commit is contained in:
Fabio Berger
2018-08-22 14:24:23 +01:00
parent 4b84081795
commit 3b5c8a847b

View File

@@ -10,8 +10,6 @@ jobs:
steps:
- checkout
- run: echo 'export PATH=$HOME/CIRCLE_PROJECT_REPONAME/node_modules/.bin:$PATH' >> $BASH_ENV
- run: yarn --version
- run: which yarn
- restore_cache:
name: Restore Yarn Package Cache
keys:
@@ -22,6 +20,9 @@ jobs:
- run:
name: yarn
command: yarn --frozen-lockfile install
- run:
name: yarn
command: yarn --frozen-lockfile install
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}