Override yarn version
@@ -10,6 +10,16 @@ jobs:
steps:
+ - run:
+ name: update yarn
+ command: |
+ # remove default yarn
+ sudo rm -rf $(dirname $(which yarn))/yarn*
+ # download latest
+ rm -rf ~/.yarn
+ curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.28.4
+ echo 'export PATH="${PATH}:${HOME}/.yarn/bin"' >> $BASH_ENV
+
- run:
name: Install Chromium and Xvfb
command: apt-get update -qq && apt-get install -qq -y chromium Xvfb > /dev/null
