fix(ci): preserve mobile web assets for local eas builds

This commit is contained in:
DIYgod 2026-04-14 15:00:53 +08:00
parent bd2f2cae0e
commit 8e2e9ca29d
6 changed files with 76 additions and 0 deletions

54
.easignore Normal file
View File

@ -0,0 +1,54 @@
node_modules
dist
out/*
!out/
!out/rn-web
!out/rn-web/
!out/rn-web/**
.next
.open-next
next-env.d.ts
.DS_Store
*.log*
.env
.eslintcache
.env.*
!.env.example
# Sentry Config File
.env.sentry-build-plugin
.vercel
stats.html
electron.vite.config.*.mjs
vite.config.*.mjs
.generated
.turbo
apps/desktop/src/renderer/dev-dist
tsconfig.tsbuildinfo
buildServer.json
**/**/generated-routes.ts
apps/desktop/build/appxmanifest.xml
apps/desktop/resources/cli
.claude/settings.local.json
.serena
.wrangler
# Local agent artifacts
.codex/
# E2E outputs
/apps/desktop/e2e/playwright-report/
/apps/desktop/e2e/test-results/
/apps/mobile/e2e/artifacts/
/apps/mobile/report.xml
/report.xml
# Mobile local E2E build artifacts
apps/mobile/build-*.tar.gz

View File

@ -72,6 +72,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build Android app
working-directory: apps/mobile
run: eas build --platform android --profile ${{ github.event.inputs.profile || 'preview' }} --local --output=${{ github.workspace }}/build.${{ github.event.inputs.profile == 'production' && 'aab' || 'apk' }}

View File

@ -51,6 +51,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile development --non-interactive --local --output=./build.ipa
@ -104,6 +107,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile development --non-interactive --local --output=./build.ipa
@ -151,6 +157,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile ios-simulator --non-interactive --local --output=./build-simulator.ipa

View File

@ -59,6 +59,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile ${{ github.event.inputs.profile || 'preview' }} --non-interactive --local --output=./build.ipa
@ -117,6 +120,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile ${{ github.event.inputs.profile || 'preview' }} --non-interactive --local --output=./build.ipa

View File

@ -152,6 +152,7 @@
"eas-cli": "16.26.0",
"expo-drizzle-studio-plugin": "0.2.1",
"nbump": "2.1.8",
"pathe": "2.0.3",
"postcss": "8.5.6",
"sf-symbols-typescript": "2.2.0",
"typescript": "catalog:"

View File

@ -1436,6 +1436,9 @@ importers:
nbump:
specifier: 2.1.8
version: 2.1.8(conventional-commits-filter@5.0.0)
pathe:
specifier: 2.0.3
version: 2.0.3
postcss:
specifier: 8.5.6
version: 8.5.6