From 9cca114895d931365be4d22f52adb60232a3d242 Mon Sep 17 00:00:00 2001 From: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Date: Thu, 23 Jun 2022 16:08:52 -0400 Subject: [PATCH] ci: canaries rn workaround (#10020) --- .circleci/config.yml | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 20636406b82..c3389a12f4d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1687,20 +1687,26 @@ workflows: name: RN iOS - latest framework: rn_ios main-file-path: ./App.js + # TODO: delete next line after https://github.com/react-native-picker/picker/issues/425 is resolved + tag: 0.68.2 - getting-started-smoke-test/rn-android: name: RN Android - latest framework: rn_android main-file-path: ./App.js - - getting-started-smoke-test/rn-ios: - name: RN iOS - next - framework: rn_ios - main-file-path: ./App.js - tag: next - - getting-started-smoke-test/rn-android: - name: RN Android - next - framework: rn_android - main-file-path: ./App.js - tag: next + # TODO: delete next line after https://github.com/react-native-picker/picker/issues/425 is resolved + tag: 0.68.2 + + # TODO: re-enable the following 2 jobs after https://github.com/react-native-picker/picker/issues/425 is resolved + # - getting-started-smoke-test/rn-ios: + # name: RN iOS - next + # framework: rn_ios + # main-file-path: ./App.js + # tag: next + # - getting-started-smoke-test/rn-android: + # name: RN Android - next + # framework: rn_android + # main-file-path: ./App.js + # tag: next # Expo - getting-started-smoke-test/expo: name: Expo - latest @@ -1860,7 +1866,7 @@ orbs: - run-with-retry: label: Scaffold App pre-command: cd ../ && rm -rf amplify_getting_started_<< parameters.framework >> - command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >> + command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >> --version << parameters.tag >> no_output_timeout: 10m - run-with-retry: label: Install Amplify dependencies @@ -1912,7 +1918,7 @@ orbs: - run-with-retry: label: Scaffold App pre-command: cd ../ && rm -rf amplify_getting_started_<< parameters.framework >> - command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >> + command: npx react-native@<< parameters.tag >> init amplify_getting_started_<< parameters.framework >> --version << parameters.tag >> no_output_timeout: 10m - run-with-retry: label: Install Amplify dependencies