Skip to content

Commit

Permalink
Update supported Node.js versions.
Browse files Browse the repository at this point in the history
* drop Node.js 6.x
* add Node.js 12.x
* tweak CI configs
  • Loading branch information
XhmikosR committed Sep 27, 2019
1 parent 8427da6 commit 36bf22e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
sudo: false

language: node_js

node_js:
- "6"
- "8"
- "10"
- "12"

matrix:
fast_finish: true

cache:
directories:
- node_modules
cache: npm
10 changes: 5 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ version: "{build}"

environment:
matrix:
- NODEJS_VERSION: "6"
- NODEJS_VERSION: "8"
PLATFORM: x86
- NODEJS_VERSION: "6"
PLATFORM: x64
- NODEJS_VERSION: "8"
PLATFORM: x64
- NODEJS_VERSION: "10"
PLATFORM: x64
- NODEJS_VERSION: "12"
PLATFORM: x64

install:
- ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM
- npm install
- npm ci

test_script:
- node --version
Expand All @@ -31,4 +31,4 @@ matrix:
fast_finish: true

cache:
- 'node_modules -> appveyor.yml,package.json,package-lock.json'
- '%APPDATA%\npm-cache\ -> appveyor.yml,package.json,package-lock.json'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"repository": "gruntjs/grunt-contrib-internal",
"license": "MIT",
"engines": {
"node": ">=6"
"node": ">=8"
},
"scripts": {
"test": "grunt test"
Expand Down

0 comments on commit 36bf22e

Please sign in to comment.