File tree 4 files changed +2753
-76
lines changed
4 files changed +2753
-76
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,6 @@ jobs:
220
220
command : |
221
221
brew bundle --file=.circleci/Brewfile.android --no-lock
222
222
- save-cache : *cache_save_brew_android
223
-
224
223
- run :
225
224
name : Install Android emulator
226
225
shell : /bin/bash -e
@@ -231,15 +230,13 @@ jobs:
231
230
yes | sdkmanager "build-tools;28.0.3" 1> /dev/null
232
231
yes | sdkmanager --licenses 1> /dev/null
233
232
yes | sdkmanager --list
234
-
235
233
- run :
236
234
name : ADB start/stop
237
235
command : |
238
236
adb start-server
239
237
adb devices
240
238
adb kill-server
241
239
ls -la ~/.android
242
-
243
240
- run :
244
241
name : Create emulator
245
242
command : |
@@ -249,9 +246,6 @@ jobs:
249
246
-k "system-images;android-21;google_apis;x86" \
250
247
-g "google_apis" \
251
248
-d "Nexus 4"
252
-
253
-
254
-
255
249
- run :
256
250
name : Start emulator in background
257
251
background : true
@@ -266,20 +260,25 @@ jobs:
266
260
-no-boot-anim \
267
261
-no-window \
268
262
-logcat '*:W' | grep -i "ReactNative"
269
-
270
263
- run :
271
264
name : Wait for emulator to boot
272
265
command : yarn build:e2e:android
273
-
274
266
- run :
275
267
name : Wake device
276
268
command : |
277
269
adb shell input keyevent 82
278
-
279
270
- run :
280
271
name : Run e2e tests
281
272
command : yarn test:e2e:android
282
273
274
+ Release :
275
+ << : *js_defaults
276
+ steps :
277
+ - *addWorkspace
278
+ - run :
279
+ name : Release new version
280
+ command : yarn semantic-release
281
+
283
282
# ==============================
284
283
# WORK FLOWS
285
284
# ==============================
@@ -302,6 +301,13 @@ workflows:
302
301
requires :
303
302
- " Test: lint"
304
303
- " Test: flow"
304
+ - " Release " :
305
+ requires :
306
+ - " Test: iOS e2e"
307
+ - " Build: Android release apk"
308
+ filters :
309
+ branches :
310
+ only : master
305
311
# - "Test: Android e2e":
306
312
# requires:
307
313
# - "Test: lint"
Original file line number Diff line number Diff line change
1
+ {
2
+ "branches": [
3
+ "master"
4
+ ]
5
+ }
Original file line number Diff line number Diff line change 83
83
"react-native-macos" : " 0.60.0-microsoft.50" ,
84
84
"react-native-web" : " ~0.12.0" ,
85
85
"react-native-windows" : " 0.61.0" ,
86
- "react-test-renderer" : " 16.9.0"
86
+ "react-test-renderer" : " 16.9.0" ,
87
+ "semantic-release" : " ^17.2.1"
87
88
},
88
89
"jest" : {
89
90
"preset" : " react-native" ,
You can’t perform that action at this time.
0 commit comments