From 84e0fe4606086795f9bbe4fef64440819b005cce Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Wed, 19 Jul 2017 17:31:28 +0100 Subject: [PATCH] Revert "attempt at fixing yarn install in CircleCI" This reverts commit 669f432dfbd5800e31a71240a222c4a78d17dbdc. --- circle.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 98183b24..d29627df 100644 --- a/circle.yml +++ b/circle.yml @@ -1,12 +1,15 @@ machine: environment: - YARN_VERSION: 0.28.1 + YARN_VERSION: 0.24.3 PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" node: version: 8 dependencies: pre: - - npm install -g yarn@${YARN_VERSION} + - | + if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then + curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION + fi - nvm install 4 - nvm install 6