Fix ci and update engine in package

master
Jonatan Nilsson 2021-06-23 09:39:40 +00:00
parent 1014cdec86
commit fa46b3b043
2 changed files with 2 additions and 12 deletions

View File

@ -7,22 +7,12 @@ commands:
name: Versions
command: npm version
- checkout
- restore_cache:
keys:
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
- run:
name: Install dependencies
command: npm ci
command: npm install
- run:
name: Test
command: npm test
save-npm-cache:
steps:
- save_cache:
key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }}
paths:
- ~/.npm/_cacache
jobs:
node-v14:
docker:

View File

@ -36,7 +36,7 @@
"lib"
],
"engines": {
"node": ">= 0.4.0"
"node": ">= 13.0.0"
},
"license": "MIT"
}