File tree Expand file tree Collapse file tree 4 files changed +65
-0
lines changed Expand file tree Collapse file tree 4 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ defaults : &defaults
4+ docker :
5+ - image : circleci/node:10
6+ working_directory : ~/react-native-testing-library
7+
8+ jobs :
9+ install-dependencies :
10+ << : *defaults
11+ steps :
12+ - checkout
13+ - attach_workspace :
14+ at : ~/react-native-testing-library
15+ - restore_cache :
16+ keys :
17+ - dependencies-{{ checksum "package.json" }}
18+ - dependencies-
19+ - run : yarn install --frozen-lockfile
20+ - save_cache :
21+ key : dependencies-{{ checksum "package.json" }}
22+ paths :
23+ - node_modules
24+ - persist_to_workspace :
25+ root : .
26+ paths :
27+ - .
28+ lint-and-flow :
29+ << : *defaults
30+ steps :
31+ - attach_workspace :
32+ at : ~/react-native-testing-library
33+ - run : |
34+ yarn lint
35+ yarn flow-check
36+ tests :
37+ << : *defaults
38+ steps :
39+ - attach_workspace :
40+ at : ~/react-native-testing-library
41+ - run : yarn test
42+ - store_artifacts :
43+ path : coverage
44+ destination : coverage
45+
46+ workflows :
47+ version : 2
48+ build-and-test :
49+ jobs :
50+ - install-dependencies
51+ - lint-and-flow :
52+ requires :
53+ - install-dependencies
54+ - tests :
55+ requires :
56+ - install-dependencies
Original file line number Diff line number Diff line change 11[libs]
22flow-typed
3+
4+ [options]
5+ include_warnings=true
Original file line number Diff line number Diff line change 11node_modules
22* .log
3+ .eslintcache
Original file line number Diff line number Diff line change 2828 },
2929 "dependencies" : {
3030 "react-is" : " ^16.5.2"
31+ },
32+ "scripts" : {
33+ "test" : " jest" ,
34+ "flow-check" : " flow check" ,
35+ "lint" : " eslint src --cache"
3136 }
3237}
You can’t perform that action at this time.
0 commit comments