Install yarn when not there
This commit is contained in:
parent
a59053df27
commit
46ce6b41a4
@ -192,6 +192,9 @@ before_install:
|
|||||||
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
||||||
export JOBS=$((`sysctl -n hw.ncpu` + 1))
|
export JOBS=$((`sysctl -n hw.ncpu` + 1))
|
||||||
sudo mdutil -i off /
|
sudo mdutil -i off /
|
||||||
|
fi
|
||||||
|
- |
|
||||||
|
if [[ ! -f $(which yarn) ]]; then
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
fi
|
fi
|
||||||
- export PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
|
- export PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
|
||||||
|
Loading…
Reference in New Issue
Block a user