File tree Expand file tree Collapse file tree 1 file changed +41
-10
lines changed Expand file tree Collapse file tree 1 file changed +41
-10
lines changed Original file line number Diff line number Diff line change 11version : 2.1
2+
3+
24orbs :
3- node : circleci/node@1.1.6
5+ rn : react-native-community/react-native@1.2.0
6+
7+
48jobs :
5- build-and-test :
6- executor :
7- name : node/default
9+ checkout_code :
10+ executor : rn/linux_js
811 steps :
912 - checkout
10- - node/with-cache :
11- steps :
12- - run : yarn install
13- - run : yarn test
13+ - persist_to_workspace :
14+ root : .
15+ paths : .
16+ analyze :
17+ executor : rn/linux_js
18+ steps :
19+ - attach_workspace :
20+ at : .
21+ - rn/yarn_install
22+ - run :
23+ name : Lint JS Code (ESLint)
24+ command : yarn lint
25+ - run :
26+ name : Jest
27+ command : yarn test
28+ publish :
29+ executor : rn/linux_js
30+ steps :
31+ - attach_workspace :
32+ at : .
33+ - rn/yarn_install
34+ # - run:
35+ # name: Publish to NPM
36+ # command: yarn ci:publish
37+
38+
1439workflows :
15- build-and- test :
40+ test :
1641 jobs :
17- - build-and-test
42+ - checkout_code
43+ - analyze :
44+ requires :
45+ - checkout_code
46+ # - publish:
47+ # requires:
48+ # - analyze
You can’t perform that action at this time.
0 commit comments