Skip to content

Commit

Permalink
travis - install yarn if check_yarn fails
Browse files Browse the repository at this point in the history
  • Loading branch information
himdel committed Aug 3, 2017
1 parent 92d6c24 commit 0771c06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/ci/setup_js_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ else
[ $STATUS = 0 ] || exit 1
[ -d vendor/assets/bower_components ] || exit 1
fi

# make sure yarn is installed, in the right version
bundle exec rake webpacker:check_yarn || npm install -g yarn

0 comments on commit 0771c06

Please sign in to comment.