From 2db2db58561c824e6cae5cc1d6ce48f0d6a6bc13 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 28 May 2026 01:56:35 +0000 Subject: [PATCH] fix(ci): skip server deps on build and source Android signing env - Use workspace-scoped npm ci to avoid compiling better-sqlite3 on Windows (Node 24 has no prebuilt binaries and node-gyp fails in CI) - Source setup-android-signing.sh so WEB2APP_ANDROID_* vars reach sign script Co-authored-by: ShuMengya --- .github/workflows/build-app.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index c5cf084..2c0e2b0 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -42,7 +42,7 @@ jobs: cache: npm - name: Install dependencies - run: npm ci + run: npm ci --workspace=template --include-workspace-root - name: Prepare template run: node .github/scripts/prepare-template.mjs @@ -88,7 +88,7 @@ jobs: cache: npm - name: Install dependencies - run: npm ci + run: npm ci --workspace=template --include-workspace-root - name: Prepare template run: node .github/scripts/prepare-template.mjs @@ -125,7 +125,7 @@ jobs: - name: Sign Android APK run: | - bash .github/scripts/setup-android-signing.sh + source .github/scripts/setup-android-signing.sh bash .github/scripts/sign-android-apk.sh env: ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}