Skip to content

Commit

Permalink
ci(app): build app in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mikonse committed Nov 10, 2023
1 parent 6a6a838 commit e6c7355
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,30 @@ jobs:
run: npm ci
- name: Build web app
run: npx nx run-many --target lint

build-app:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v3
- name: Set up Nodejs
uses: actions/setup-node@v2
with:
node-version: "18"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Setup Android SDK
uses: actions/setup-android@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build web app
run: npx nx build-android mobile
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: app-debug-apk
path: frontend/apps/mobile/android/app/build/outputs/apk/debug/app-debug.apk

0 comments on commit e6c7355

Please sign in to comment.