Fixing ios build
Build & Push Docker Images / test-backend (push) Successful in 20s
Build & Push Docker Images / test-frontend (push) Successful in 22s
Build & Push Docker Images / build-backend (push) Successful in 17s
Build & Push Docker Images / build-frontend (push) Successful in 16s
Build & Push Docker Images / test-backend (push) Successful in 20s
Build & Push Docker Images / test-frontend (push) Successful in 22s
Build & Push Docker Images / build-backend (push) Successful in 17s
Build & Push Docker Images / build-frontend (push) Successful in 16s
This commit is contained in:
+15
-1
@@ -29,7 +29,7 @@ workflows:
|
||||
inputs:
|
||||
- node_version: "20"
|
||||
- script@1:
|
||||
title: Install dependencies, build web & sync Capacitor
|
||||
title: Install dependencies & build web
|
||||
inputs:
|
||||
- content: |
|
||||
#!/bin/bash
|
||||
@@ -37,6 +37,20 @@ workflows:
|
||||
npm ci
|
||||
npm ci --prefix frontend
|
||||
npm run build --prefix frontend
|
||||
- script@1:
|
||||
title: Ensure native platforms & sync Capacitor
|
||||
inputs:
|
||||
- content: |
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
if [ ! -d "ios/App/App.xcodeproj" ]; then
|
||||
echo "ios/ directory missing from checkout — adding platform"
|
||||
npx cap add ios
|
||||
fi
|
||||
if [ ! -d "android/app/build.gradle" ]; then
|
||||
echo "android/ directory missing from checkout — adding platform"
|
||||
npx cap add android
|
||||
fi
|
||||
npx cap sync
|
||||
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user