language: node_js
node_js:
  - "8"
  - "10"

cache:
  directories:
    - $HOME/.cache/yarn

script:
  - yarn
  - yarn run test
