From 439fa7d4daca31535f8ef98b588f2c14e4443a83 Mon Sep 17 00:00:00 2001 From: Katherine Date: Fri, 29 Jun 2018 09:57:22 +0100 Subject: [PATCH] Change all places using npm to yarn (#158) --- README.md | 2 +- bin/ci | 2 +- bin/setup | 5 +++-- circle.yml | 4 ++++ config/ember-try.js | 1 + 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c4694ac..7c83a17 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ module.exports = function(defaults) { ### Setup * `git clone https://github.com/alphasights/ember-calendar.git` -* `npm install && bower install` +* `yarn && bower install` ### Running diff --git a/bin/ci b/bin/ci index 5009206..7d68d7a 100755 --- a/bin/ci +++ b/bin/ci @@ -3,4 +3,4 @@ set -e bin/lint -npm test +yarn test diff --git a/bin/setup b/bin/setup index bfb5e27..9df1521 100755 --- a/bin/setup +++ b/bin/setup @@ -2,7 +2,8 @@ set -e -npm install -g bower -npm install +yarn global add bower +yarn + bower install bundle install diff --git a/circle.yml b/circle.yml index c02895d..d0d163e 100644 --- a/circle.yml +++ b/circle.yml @@ -7,8 +7,12 @@ machine: test: override: - ./bin/ci + - yarn dependencies: override: - "cd bin && wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 && tar xjvf phantomjs-2.0.0-ubuntu-12.04.tar.bz2" - "./bin/setup" + - yarn + cache_directories: + - ~/.cache/yarn diff --git a/config/ember-try.js b/config/ember-try.js index 6a5d4f3..3de1c91 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -1,5 +1,6 @@ /* eslint-env node */ module.exports = { + useYarn: true, scenarios: [ { name: 'ember-lts-2.4',