File tree Expand file tree Collapse file tree 2 files changed +57
-25
lines changed Expand file tree Collapse file tree 2 files changed +57
-25
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ commands :
4+ test-nodejs :
5+ steps :
6+ - run :
7+ name : Versions
8+ command : npm version
9+ - checkout
10+ - restore_cache :
11+ keys :
12+ - v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
13+ - v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
14+ - run :
15+ name : Install dependencies
16+ command : npm ci
17+ - run :
18+ name : Test
19+ command : npm test
20+ - coverage
21+ - save-npm-cache
22+ save-npm-cache :
23+ steps :
24+ - save_cache :
25+ key : v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }}
26+ paths :
27+ - ~/.npm/_cacache
28+ coverage :
29+ steps :
30+ - run :
31+ command : npm run cover
32+ - run :
33+ command : npm run coveralls
34+ jobs :
35+ node-v10 :
36+ docker :
37+ - image : node:10
38+ steps :
39+ - test-nodejs
40+ node-v12 :
41+ docker :
42+ - image : node:12
43+ steps :
44+ - test-nodejs
45+ node-v14 :
46+ docker :
47+ - image : node:14
48+ steps :
49+ - test-nodejs
50+
51+ workflows :
52+ version : 2
53+ node-multi-build :
54+ jobs :
55+ - node-v10
56+ - node-v12
57+ - node-v14
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments