|
40 | 40 | - run: rustup target add x86_64-linux-android |
41 | 41 | - run: npm ci |
42 | 42 | - run: npm run build |
43 | | - # Bootstrap host package to get weak-node-api and ferric-example to get types |
| 43 | + # Bootstrap weak-node-api and ferric-example to get types |
44 | 44 | # TODO: Solve this by adding an option to ferric to build only types or by committing the types into the repo as a fixture for an "init" command |
45 | | - - run: npm run bootstrap --workspace react-native-node-api |
| 45 | + - run: npm run bootstrap --workspace weak-node-api |
46 | 46 | - run: npm run bootstrap --workspace @react-native-node-api/ferric-example |
47 | 47 | - run: npm run lint |
48 | 48 | env: |
@@ -184,9 +184,8 @@ jobs: |
184 | 184 | echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules |
185 | 185 | sudo udevadm control --reload-rules |
186 | 186 | sudo udevadm trigger --name-match=kvm |
187 | | - - name: Build weak-node-api for all architectures |
188 | | - run: npm run build-weak-node-api:android |
189 | | - working-directory: packages/host |
| 187 | + - name: Build weak-node-api for all Android architectures |
| 188 | + run: npm run build-weak-node-api:android --workspace weak-node-api |
190 | 189 | - name: Build ferric-example for all architectures |
191 | 190 | run: npm run build -- --android |
192 | 191 | working-directory: packages/ferric-example |
@@ -239,11 +238,10 @@ jobs: |
239 | 238 | - run: rustup toolchain install nightly --component rust-src |
240 | 239 | - run: npm ci |
241 | 240 | - run: npm run build |
242 | | - # Build weak-node-api for all Apple architectures |
243 | | - - run: | |
244 | | - npm run prepare-weak-node-api |
245 | | - npm run build-weak-node-api:apple |
246 | | - working-directory: packages/host |
| 241 | + - name: Build weak-node-api for all Apple architectures |
| 242 | + run: | |
| 243 | + npm run prepare-weak-node-api --workspace weak-node-api |
| 244 | + npm run build-weak-node-api:apple --workspace weak-node-api |
247 | 245 | # Build Ferric example for all Apple architectures |
248 | 246 | - run: npx ferric --apple |
249 | 247 | working-directory: packages/ferric-example |
|
0 commit comments