Fix ci and update engine in package
This commit is contained in:
parent
1014cdec86
commit
fa46b3b043
2 changed files with 2 additions and 12 deletions
|
@ -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:
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"lib"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 0.4.0"
|
||||
"node": ">= 13.0.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue