message: Install nodejs and yarn
diff: @@ -41,6 +41,17 @@ jobs:
  image: ubuntu-1604:201903-01
  steps:
  - checkout
  + - run:
  + # The images ubuntu-1604:201903-01 comes with preinstalled nvm, which does not work well with non-login shells
  + name: Uninstall nvm
  + command: rm -rf "$NVM_DIR" ~/.npm ~/.bower
  + - run:
  + name: Install nodejs and yarn
  + command: |
  + curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
  + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  + echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  + sudo apt update && sudo apt install nodejs yarn
  - run:
  name: Version information
  command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
  