Add CI workflow: type-check and build Android APK
CI / Type-Check (push) Successful in 14s
CI / Build Android APK (push) Successful in 5m34s

Runs bun --cwd client run build (tsc -b) on push/PR, then builds the
APK via build-apk.sh and uploads it as a workflow artifact. Also
compatible with Gitea Actions, which reads .github/workflows/ in
addition to .gitea/workflows/.
This commit is contained in:
2026-08-12 12:40:06 +02:00
parent 5ba89051b1
commit 53377237bc
+40
View File
@@ -0,0 +1,40 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
typecheck:
name: Type-Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Type-check client
run: bun --cwd client run build
build-apk:
name: Build Android APK
runs-on: ubuntu-latest
needs: typecheck
steps:
- uses: actions/checkout@v4
- name: Build APK via Dockerfile.android
run: ./build-apk.sh
- uses: actions/upload-artifact@v4
with:
name: tiptoi-sync-apk
path: apk-output/tiptoi-sync.apk