language: node_js
node_js:
  - "10"
  - "12"
  - "14"

script:
  - npm run-script lint
  - npm test

language: node_js
node_js:
  - "14"
  - "16"
  - "18"

script:
  - npm run-script lint
  - npm test

Test on Node 14, 16 and 18
Test on Node 14, 16 and 18