image: node:8.9
cache:
  paths:
    - node_modules
before_script:
  - yarn install
stages:
  - test
test:
  stage: test
  script:
    - yarn test
  coverage: /All files\s*\|\s*([\d\.]+)/
