File tree Expand file tree Collapse file tree 1 file changed +27
-11
lines changed Expand file tree Collapse file tree 1 file changed +27
-11
lines changed Original file line number Diff line number Diff line change 11version : 2
22
3- aliases :
4- - dependencies : &dependencies
3+ jobs :
4+ Tests under Node.js 8 :
5+ docker :
6+ - image : circleci/node:8
7+ steps :
58 - checkout
69 - run : node --version > node_version
710 - restore_cache :
@@ -12,26 +15,39 @@ aliases:
1215 key : yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
1316 paths :
1417 - ~/.cache/yarn
15-
16- jobs :
17- Tests under Node.js 8 :
18- docker :
19- - image : circleci/node:8
20- steps :
21- - *dependencies
2218 - run : yarn coverage
19+
2320 Tests under Node.js 10 :
2421 docker :
2522 - image : circleci/node:10
2623 steps :
27- - *dependencies
24+ - checkout
25+ - run : node --version > node_version
26+ - restore_cache :
27+ keys :
28+ - yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
29+ - run : yarn install --frozen-lockfile
30+ - save_cache :
31+ key : yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
32+ paths :
33+ - ~/.cache/yarn
2834 - run : yarn coverage
2935 - run : curl -s https://codecov.io/bash | bash
36+
3037 Release :
3138 docker :
3239 - image : circleci/node:10
3340 steps :
34- - *dependencies
41+ - checkout
42+ - run : node --version > node_version
43+ - restore_cache :
44+ keys :
45+ - yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
46+ - run : yarn install --frozen-lockfile
47+ - save_cache :
48+ key : yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
49+ paths :
50+ - ~/.cache/yarn
3551 - run :
3652 command : |
3753 git config --global user.email [email protected]
You can’t perform that action at this time.
0 commit comments