Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(ci): build the shared editor before bundling Android

Tin Sever8a982a5bc6cf
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 8bbe520da..31c34097d 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -8,6 +8,12 @@ on:
pull_request:
paths:
- "apps/mobile/**"
+ - "packages/editor/**"
+ - "packages/typescript-config/**"
+ - "package.json"
+ - "pnpm-lock.yaml"
+ - "pnpm-workspace.yaml"
+ - "patches/**"
- ".github/workflows/android.yml"
workflow_dispatch:
@@ -42,6 +48,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
+ - name: Build the shared editor
+ run: pnpm --filter @kaneo/editor build
+
- name: Generate the Android project
run: pnpm --filter @kaneo/mobile exec expo prebuild --platform android --clean --no-install