Define the node.js and npm version

This commit is contained in:
CJ Patoilo 2020-05-15 01:10:58 -03:00
parent 9497e279a0
commit 314c46a661
3 changed files with 2 additions and 5 deletions

View File

@ -4,8 +4,6 @@ build: off
platform: x64 platform: x64
environment: environment:
matrix: matrix:
- nodejs_version: 12
- nodejs_version: 11
- nodejs_version: 10 - nodejs_version: 10
install: install:
- ps: Install-Product node $env:nodejs_version x64 - ps: Install-Product node $env:nodejs_version x64

View File

@ -1,7 +1,5 @@
language: node_js language: node_js
node_js: node_js:
- 12
- 11
- 10 - 10
before_install: before_install:
- npm i -g npm@latest - npm i -g npm@latest

View File

@ -65,7 +65,8 @@
"sass-lint": "^1.12.1" "sass-lint": "^1.12.1"
}, },
"engines": { "engines": {
"node": ">=10.0.0" "node": "^10.20.1",
"npm": "^6.14.4"
}, },
"scripts": { "scripts": {
"start": "run-p build watch serve", "start": "run-p build watch serve",