File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 70
70
<< : *defaults
71
71
steps :
72
72
- run : echo "Running node v12"
73
+ - checkout
74
+ - run :
75
+ name : update-npm
76
+ command : ' sudo npm install -g npm@5'
77
+ - restore_cache :
78
+ key : dependency-cache-{{ checksum "package.json" }}
79
+ - run :
80
+ name : install-npm-wee
81
+ command : npm install
82
+ - save_cache :
83
+ key : dependency-cache-{{ checksum "package.json" }}
84
+ paths :
85
+ - ./node_modules
86
+ - run :
87
+ name : test
88
+ command : npm test
89
+ - run :
90
+ name : test performance
91
+ command : npm run test-performance
92
+ - run :
93
+ name : test archetype
94
+ command : npm run test-archetype
95
+ - run :
96
+ name : code-coverage
97
+ command : ' ./node_modules/.bin/nyc report --reporter=text-lcov'
98
+ - store_artifacts :
99
+ path : test-results.xml
100
+ prefix : tests
101
+ - store_artifacts :
102
+ path : coverage
103
+ prefix : coverage
104
+ - store_test_results :
105
+ path : test-results.xml
106
+ - persist_to_workspace :
107
+ root : ~/fabrix
108
+ paths : .
73
109
74
110
workflows :
75
111
version : 2
You can’t perform that action at this time.
0 commit comments