Fix ci and update engine in package

This commit is contained in:
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 name: Versions
command: npm version command: npm version
- checkout - 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: - run:
name: Install dependencies name: Install dependencies
command: npm ci command: npm install
- run: - run:
name: Test name: Test
command: npm 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: jobs:
node-v14: node-v14:
docker: docker:

View file

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