sudo: required
language: node_js
node_js:
  - node
cache:
  directories:
    - $HOME/.npm
    - node_modules
script:
  - bash ./deploy.sh

sudo: required
language: node_js
node_js:
  - node
cache:
  yarn: true
  directories:
    - node_modules
script:
  - bash ./deploy.sh

Use `yarn` instead of `npm`
Use `yarn` instead of `npm`