Skip to content

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

Update mobile app build workflow (#771)

Leendert de Borst20135afe4d98
diff --git a/.github/workflows/mobile-app-build.yml b/.github/workflows/mobile-app-build.yml
index 86c54bdcf..8e98149d8 100644
--- a/.github/workflows/mobile-app-build.yml
+++ b/.github/workflows/mobile-app-build.yml
@@ -69,15 +69,13 @@ jobs:
- name: Install dependencies
run: npm ci
- - name: Build JS bundle (iOS)
+ - name: Build JS bundle (iOS - Expo)
run: |
mkdir -p build
- npx react-native bundle \
- --platform ios \
- --dev false \
- --entry-file index.js \
- --bundle-output ./build/index.ios.bundle \
- --assets-dest ./build
+ npx expo export \
+ --dev \
+ --output-dir ./build \
+ --platform ios
- name: Run tests
run: npm run test
diff --git a/apps/mobile-app/.gitignore b/apps/mobile-app/.gitignore
index 6b60de3ec..ff64aa880 100644
--- a/apps/mobile-app/.gitignore
+++ b/apps/mobile-app/.gitignore
@@ -45,3 +45,4 @@ app-example
# Test output files
coverage
+build
diff --git a/apps/mobile-app/package.json b/apps/mobile-app/package.json
index d54d9a7cd..d5693c352 100644
--- a/apps/mobile-app/package.json
+++ b/apps/mobile-app/package.json
@@ -4,11 +4,11 @@
"version": "1.0.0",
"scripts": {
"start": "expo start",
- "reset-project": "node ./scripts/reset-project.js",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
- "test": "jest --watchAll",
+ "test": "jest",
+ "test:watch": "jest --watchAll",
"lint": "expo lint",
"lint:fix": "eslint . --ext .js,.ts,.tsx --fix"
},