language: node_js
node_js:
  - "node"
env:
  - HUSKY=0
cache:
  directories:
    - node_modules
before_install:
  - curl -Os https://uploader.codecov.io/latest/linux/codecov
  - chmod +x codecov
before_script:
  - npm run lint
script:
  - npm test
after_success:
  - ./codecov -f coverage/lcov.info

language: node_js
node_js:
  - "lts/*"
env:
  - HUSKY=0
cache:
  directories:
    - node_modules
before_install:
  - curl -Os https://uploader.codecov.io/latest/linux/codecov
  - chmod +x codecov
before_script:
  - npm run lint
script:
  - npm test
after_success:
  - ./codecov -f coverage/lcov.info

Use latest LTS Node version for CI
Use latest LTS Node version for CI
