1717
1818defaults :
1919 run :
20- working-directory : demo/react-native
20+ working-directory : demo/react-native/RhinoDemo
2121
2222jobs :
2323 build-android :
2424 runs-on : ubuntu-latest
2525
2626 strategy :
2727 matrix :
28- node-version : [16 .x, 18 .x, 20 .x]
28+ node-version : [20 .x, 22 .x, 24 .x]
2929
3030 steps :
3131 - uses : actions/checkout@v3
3535 with :
3636 node-version : ${{ matrix.node-version }}
3737
38+ # ************** REMOVE AFTER RELEASE ********************
39+ - name : Install React Native Binding Dependencies
40+ run : yarn install
41+ working-directory : binding/react-native
42+
43+ - name : Build Local tarball
44+ run : yarn pkg
45+ working-directory : binding/react-native
46+
47+ - name : Remove old package
48+ run : yarn remove @picovoice/rhino-react-native
49+
50+ - name : Add new local package
51+ run : yarn add ../../../binding/react-native/pkg/picovoice-rhino-react-native-3.0.5.tgz
52+ # ************** REMOVE AFTER RELEASE ********************
53+
3854 - name : Install dependencies
3955 run : yarn android-install
4056
@@ -43,14 +59,14 @@ jobs:
4359
4460 - name : Build
4561 run : ./gradlew assembleDebug
46- working-directory : demo/react-native/android
62+ working-directory : demo/react-native/RhinoDemo/ android
4763
4864 build-ios :
4965 runs-on : macos-latest
5066
5167 strategy :
5268 matrix :
53- node-version : [16 .x, 18 .x, 20 .x]
69+ node-version : [20 .x, 22 .x, 24 .x]
5470
5571 steps :
5672 - uses : actions/checkout@v3
6076 with :
6177 node-version : ${{ matrix.node-version }}
6278
79+ # ************** REMOVE AFTER RELEASE ********************
80+ - name : Install React Native Binding Dependencies
81+ run : yarn install
82+ working-directory : binding/react-native
83+
84+ - name : Build Local tarball
85+ run : yarn pkg
86+ working-directory : binding/react-native
87+
88+ - name : Remove old package
89+ run : yarn remove @picovoice/rhino-react-native
90+
91+ - name : Add new local package
92+ run : yarn add ../../../binding/react-native/pkg/picovoice-rhino-react-native-3.0.5.tgz
93+ # ************** REMOVE AFTER RELEASE ********************
94+
6395 - name : Install dependencies
6496 run : yarn ios-install
6597
74106 -scheme RhinoDemo
75107 -derivedDataPath ddp
76108 CODE_SIGNING_ALLOWED=NO
77- working-directory : demo/react-native/ios
109+ working-directory : demo/react-native/RhinoDemo/ ios
0 commit comments