Skip to content

Commit

Permalink
test: add Node.js 12 and 14 in the build matrix
Browse files Browse the repository at this point in the history
Node.js 8 is removed, as it is now EOL.

Note: the node_modules folder is cached by default
  • Loading branch information
darrachequesne committed Sep 17, 2020
1 parent a8130ce commit 6a59237
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
language: node_js
sudo: false
node_js:
- '8'
- '10'
- '12'
- '14'
git:
depth: 1
matrix:
include:
- node_js: 10
env: BROWSERS=1
cache:
directories:
- node_modules
env:
global:
- secure: >-
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"scripts": {
"test": "make test"
},
"license": "MIT"
"license": "MIT",
"engines": {
"node": ">=10.0.0"
}
}

0 comments on commit 6a59237

Please sign in to comment.