File tree Expand file tree Collapse file tree 2 files changed +39
-8
lines changed Expand file tree Collapse file tree 2 files changed +39
-8
lines changed Original file line number Diff line number Diff line change
1
+ # # References:
2
+ # https://git.io/Jf3l9
3
+ # https://circleci.com/docs/2.0/yarn/
4
+ # https://circleci.com/docs/2.0/caching/#yarn-node
5
+ # https://circleci.com/orbs/registry/orb/circleci/node
6
+ # https://discuss.circleci.com/t/circleci-2-1-config-overview/26057
7
+ version : 2.1
8
+
9
+ orbs :
10
+
11
+
12
+ commands :
13
+ setup-node-and-yarn-install-with-cache :
14
+ steps :
15
+ - node/install :
16
+ install-yarn : true
17
+ node-version : latest
18
+ - node/install-packages :
19
+ pkg-manager : yarn
20
+ cache-key : yarn.lock
21
+
22
+ jobs :
23
+ lint-and-test :
24
+ executor :
25
+ name : node/default
26
+ steps :
27
+ - checkout
28
+ - setup-node-and-yarn-install-with-cache
29
+ - run :
30
+ name : Run Coverage
31
+ command : npm run cover
32
+ - run :
33
+ name : Report Coverage
34
+ command : npm run coveralls
35
+
36
+ workflows :
37
+ run-ci :
38
+ jobs :
39
+ - lint-and-test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments