language: node_js

node_js:
  - "11"
  - "10"
  - "8"

cache: npm

install: npm ci

before_script:
  - npm run lint

branches:
  only:
    - master
