From 9fcbf6f3005bb2b666a3e2e8a2022211ce34920d Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Wed, 6 Sep 2017 20:48:25 +0900 Subject: [PATCH] Use Yarn in CircleCI --- circle.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/circle.yml b/circle.yml index b51a6eb2..146a888c 100644 --- a/circle.yml +++ b/circle.yml @@ -5,6 +5,11 @@ machine: dependencies: cache_directories: - "src/node_modules" + - ~/.cache/yarn + override: + - yarn + - yarn check + - cd src && yarn check post: - sudo dpkg --add-architecture i386 - sudo add-apt-repository ppa:ubuntu-wine/ppa -y @@ -25,5 +30,7 @@ dependencies: - sh -x ./scripts/cp_artifacts.sh release $CIRCLE_ARTIFACTS test: + override: + - yarn test post: - mv test-results.xml $CIRCLE_TEST_REPORTS/