Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Add android build to workflow (#846)

Leendert de Borste5a340b67d0f
diff --git a/.github/workflows/mobile-app-build.yml b/.github/workflows/mobile-app-build.yml
index 8e98149d8..48c654147 100644
--- a/.github/workflows/mobile-app-build.yml
+++ b/.github/workflows/mobile-app-build.yml
@@ -77,6 +77,33 @@ jobs:
--output-dir ./build \
--platform ios
+ - name: Build JS bundle (Android - Expo)
+ run: |
+ mkdir -p build
+ npx expo export \
+ --dev \
+ --output-dir ./build \
+ --platform android
+
+ - name: Setup Java
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+
+ - name: Setup Android SDK
+ uses: android-actions/setup-android@v3
+
+ - name: Run Android Unit Tests
+ run: |
+ cd android
+ ./gradlew testDebugUnitTest
+
+ - name: Build Android App
+ run: |
+ cd android
+ ./gradlew assembleDebug
+
- name: Run tests
run: npm run test