0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Use latest version of yarn (installed via npm) (#508)

no issue
- adds yarn cache to travis
- uses latest version of yarn via npm install
This commit is contained in:
Austin Burdine 2017-01-26 08:32:46 -06:00 committed by Kevin Ansfield
parent ec760ca2f6
commit 2fc7319247

View file

@ -14,6 +14,7 @@ branches:
- /^greenkeeper-.+$/ - /^greenkeeper-.+$/
cache: cache:
yarn: true
directories: directories:
- node_modules - node_modules
@ -22,13 +23,11 @@ addons:
apt: apt:
sources: sources:
- google-chrome - google-chrome
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
packages: packages:
- google-chrome-stable - google-chrome-stable
- yarn
install: install:
- npm i -g yarn
- yarn global add bower - yarn global add bower
- yarn - yarn
- bower install - bower install