chore: update pipeline
This commit is contained in:
@@ -2,11 +2,11 @@ name: Frontend Admin - EAS Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [pre-prod]
|
||||
branches: [main, pre-prod]
|
||||
paths:
|
||||
- "frontend-admin/**"
|
||||
pull_request:
|
||||
branches: [pre-prod]
|
||||
branches: [main, pre-prod]
|
||||
paths:
|
||||
- "frontend-admin/**"
|
||||
|
||||
@@ -32,9 +32,10 @@ jobs:
|
||||
working-directory: frontend-admin
|
||||
run: npx tsc --noEmit
|
||||
|
||||
build-apk-prod:
|
||||
build-apk-pre-prod:
|
||||
needs: typecheck
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/pre-prod'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -66,7 +67,7 @@ jobs:
|
||||
working-directory: frontend-admin
|
||||
env:
|
||||
EAS_BUILD_NO_EXPO_GO_WARNING: true
|
||||
run: eas build --platform android --profile production --non-interactive
|
||||
run: eas build --platform android --profile pre-production --non-interactive
|
||||
|
||||
- name: Download production APK
|
||||
working-directory: frontend-admin
|
||||
|
||||
Reference in New Issue
Block a user