|
41 | 41 | with:
|
42 | 42 | node-version: ${{ matrix.node-version }}
|
43 | 43 |
|
44 |
| - - name: Pre-build dependencies |
45 |
| - run: npm install yarn |
| 44 | + # ************ REMOVE AFTER RELEASE ***************** |
| 45 | + - name: Build and package ppn |
| 46 | + working-directory: resources/porcupine/binding/react-native |
| 47 | + run: yarn && yarn pkg |
| 48 | + |
| 49 | + - name: Add to demo |
| 50 | + run: yarn add ../../resources/porcupine/binding/react-native/pkg/picovoice-porcupine-react-native-3.0.0.tgz |
| 51 | + |
| 52 | + - name: Build and package rhn |
| 53 | + working-directory: resources/rhino/binding/react-native |
| 54 | + run: yarn && yarn pkg |
| 55 | + |
| 56 | + - name: Add to demo |
| 57 | + run: yarn add ../../resources/rhino/binding/react-native/pkg/picovoice-rhino-react-native-3.0.0.tgz |
| 58 | + |
| 59 | + - name: Build and package pv |
| 60 | + working-directory: sdk/react-native |
| 61 | + run: yarn && yarn pkg |
| 62 | + |
| 63 | + - name: Add to demo |
| 64 | + run: yarn add ../../sdk/react-native/pkg/picovoice-picovoice-react-native-3.0.0.tgz |
| 65 | + # *************************************************** |
46 | 66 |
|
47 | 67 | - name: Install dependencies
|
48 | 68 | run: yarn android-install
|
|
71 | 91 | with:
|
72 | 92 | node-version: ${{ matrix.node-version }}
|
73 | 93 |
|
74 |
| - - name: Pre-build dependencies |
75 |
| - run: npm install yarn |
| 94 | + # ************ REMOVE AFTER RELEASE ***************** |
| 95 | + - name: Build and package ppn |
| 96 | + working-directory: resources/porcupine/binding/react-native |
| 97 | + run: yarn && yarn pkg |
| 98 | + |
| 99 | + - name: Add to demo |
| 100 | + run: yarn add ../../resources/porcupine/binding/react-native/pkg/picovoice-porcupine-react-native-3.0.0.tgz |
| 101 | + |
| 102 | + - name: Build and package rhn |
| 103 | + working-directory: resources/rhino/binding/react-native |
| 104 | + run: yarn && yarn pkg |
| 105 | + |
| 106 | + - name: Add to demo |
| 107 | + run: yarn add ../../resources/rhino/binding/react-native/pkg/picovoice-rhino-react-native-3.0.0.tgz |
| 108 | + |
| 109 | + - name: Build and package pv |
| 110 | + working-directory: sdk/react-native |
| 111 | + run: yarn && yarn pkg |
| 112 | + |
| 113 | + - name: Add to demo |
| 114 | + run: yarn add ../../sdk/react-native/pkg/picovoice-picovoice-react-native-3.0.0.tgz |
| 115 | + # *************************************************** |
76 | 116 |
|
77 | 117 | - name: Install dependencies
|
78 | 118 | run: yarn ios-install
|
@@ -110,8 +150,28 @@ jobs:
|
110 | 150 | with:
|
111 | 151 | node-version: ${{ matrix.node-version }}
|
112 | 152 |
|
113 |
| - - name: Pre-build dependencies |
114 |
| - run: npm install yarn --legacy-peer-deps |
| 153 | + # ************ REMOVE AFTER RELEASE ***************** |
| 154 | + - name: Build and package ppn |
| 155 | + working-directory: resources/porcupine/binding/react-native |
| 156 | + run: yarn && yarn pkg |
| 157 | + |
| 158 | + - name: Add to demo |
| 159 | + run: yarn add ../../resources/porcupine/binding/react-native/pkg/picovoice-porcupine-react-native-3.0.0.tgz |
| 160 | + |
| 161 | + - name: Build and package rhn |
| 162 | + working-directory: resources/rhino/binding/react-native |
| 163 | + run: yarn && yarn pkg |
| 164 | + |
| 165 | + - name: Add to demo |
| 166 | + run: yarn add ../../resources/rhino/binding/react-native/pkg/picovoice-rhino-react-native-3.0.0.tgz |
| 167 | + |
| 168 | + - name: Build and package pv |
| 169 | + working-directory: sdk/react-native |
| 170 | + run: yarn && yarn pkg |
| 171 | + |
| 172 | + - name: Add to demo |
| 173 | + run: yarn add ../../sdk/react-native/pkg/picovoice-picovoice-react-native-3.0.0.tgz |
| 174 | + # *************************************************** |
115 | 175 |
|
116 | 176 | - name: Install dependencies
|
117 | 177 | run: yarn android-install
|
@@ -143,8 +203,28 @@ jobs:
|
143 | 203 | with:
|
144 | 204 | node-version: ${{ matrix.node-version }}
|
145 | 205 |
|
146 |
| - - name: Pre-build dependencies |
147 |
| - run: npm install yarn --legacy-peer-deps |
| 206 | + # ************ REMOVE AFTER RELEASE ***************** |
| 207 | + - name: Build and package ppn |
| 208 | + working-directory: resources/porcupine/binding/react-native |
| 209 | + run: yarn && yarn pkg |
| 210 | + |
| 211 | + - name: Add to demo |
| 212 | + run: yarn add ../../resources/porcupine/binding/react-native/pkg/picovoice-porcupine-react-native-3.0.0.tgz |
| 213 | + |
| 214 | + - name: Build and package rhn |
| 215 | + working-directory: resources/rhino/binding/react-native |
| 216 | + run: yarn && yarn pkg |
| 217 | + |
| 218 | + - name: Add to demo |
| 219 | + run: yarn add ../../resources/rhino/binding/react-native/pkg/picovoice-rhino-react-native-3.0.0.tgz |
| 220 | + |
| 221 | + - name: Build and package pv |
| 222 | + working-directory: sdk/react-native |
| 223 | + run: yarn && yarn pkg |
| 224 | + |
| 225 | + - name: Add to demo |
| 226 | + run: yarn add ../../sdk/react-native/pkg/picovoice-picovoice-react-native-3.0.0.tgz |
| 227 | + # *************************************************** |
148 | 228 |
|
149 | 229 | - name: Install dependencies
|
150 | 230 | run: yarn ios-install
|
|
0 commit comments