language: node_js
addons:
  chrome: stable
node_js:
  - "10"
  - "12"
env:
  - WEBPACK_VERSION=5
  - WEBPACK_VERSION=4
  - WEBPACK_VERSION=3
install: yarn install --ignore-engines
script: yarn lint && yarn add --dev webpack@$WEBPACK_VERSION --ignore-engines && yarn test

language: node_js
addons:
  chrome: stable
node_js:
  - "10"
  - "12"
  - "14"
  - "16"
env:
  - WEBPACK_VERSION=5
  - WEBPACK_VERSION=4
  - WEBPACK_VERSION=3
install: yarn install --ignore-engines
script: yarn lint && yarn add --dev webpack@$WEBPACK_VERSION --ignore-engines && yarn test

Add node 14 and 16 to test matrix
Add node 14 and 16 to test matrix

This will help ensure that this package is working okay on these newer
versions of node.
