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 1
1
version : 2.1
2
+
3
+
2
4
orbs :
3
-
5
+ rn :
react-native-community/[email protected]
6
+
7
+
4
8
jobs :
5
- build-and-test :
6
- executor :
7
- name : node/default
9
+ checkout_code :
10
+ executor : rn/linux_js
8
11
steps :
9
12
- 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
+
14
39
workflows :
15
- build-and- test :
40
+ test :
16
41
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