File tree Expand file tree Collapse file tree 1 file changed +4
-63
lines changed Expand file tree Collapse file tree 1 file changed +4
-63
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
3
- orbs :
4
- rn :
react-native-community/[email protected]
5
-
6
3
executors :
7
4
default :
8
5
docker :
9
- - image : circleci/node:10
6
+ - image : circleci/node:16
10
7
working_directory : ~/project
11
8
12
9
commands :
52
49
name : Lint files
53
50
command : |
54
51
yarn lint
52
+
55
53
typescript :
56
54
executor : default
57
55
steps :
60
58
name : Typecheck files
61
59
command : |
62
60
yarn typescript
63
- e2e_release_ios :
64
- executor :
65
- name : rn/macos
66
- xcode_version : ' 11.4.0'
67
- steps :
68
- - attach_workspace :
69
- at : .
70
- - rn/setup_macos_executor :
71
- node_version : ' 12.10.0'
72
- - rn/ios_simulator_start :
73
- device : ' iPhone 11'
74
- - rn/pod_install :
75
- pod_install_directory : ' example/ios'
76
- - run :
77
- command : yarn --cwd example detox:ios:build:release
78
- name : build for detox
79
- - run :
80
- command : detox clean-framework-cache && detox build-framework-cache && yarn --cwd example detox:ios:test:release
81
- name : test detox
82
- - store_artifacts :
83
- path : ./example/artifacts
84
- e2e_release_android :
85
- # we need to use mac to run emulator with acceleration
86
- # see https://support.circleci.com/hc/en-us/articles/360000028928-Testing-with-Android-emulator-on-CircleCI-2-0
87
- executor :
88
- name : rn/macos
89
- xcode_version : ' 11.4.0'
90
- steps :
91
- - attach_workspace :
92
- at : .
93
- - rn/setup_macos_executor :
94
- node_version : ' 12.10.0'
95
- - rn/android_emulator_start :
96
- logcat_grep : ' com.example.reactnativepagerview'
97
- platform_version : ' android-29'
98
- - run :
99
- command : yarn --cwd example detox:android:build:release
100
- name : build for detox
101
- - run :
102
- command : yarn --cwd example detox:android:test:release
103
- name : test detox
104
- - store_artifacts :
105
- path : ./example/artifacts
106
- unit-tests :
107
- executor : default
108
- steps :
109
- - attach_project
110
- - run :
111
- name : Run unit tests
112
- command : |
113
- yarn test --coverage
114
- - store_artifacts :
115
- path : coverage
116
- destination : coverage
117
-
118
61
build-package :
119
62
executor : default
120
63
steps :
123
66
name : Build package
124
67
command : |
125
68
yarn prepare
69
+
126
70
workflows :
127
71
build-and-test :
128
72
jobs :
@@ -133,9 +77,6 @@ workflows:
133
77
- typescript :
134
78
requires :
135
79
- install-dependencies
136
- - e2e_release_ios :
80
+ - build-package :
137
81
requires :
138
82
- install-dependencies
139
- - e2e_release_android :
140
- requires :
141
- - install-dependencies
You can’t perform that action at this time.
0 commit comments