Skip to content

Update dependency email_validator to v3 #78

Update dependency email_validator to v3

Update dependency email_validator to v3 #78

name: Deploy to Firebase Hosting on PR
on:
pull_request:
paths:
- "app/radio_qth_map/**"
jobs:
build_and_preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
defaults:
run:
working-directory: app/radio_qth_map
steps:
- uses: actions/checkout@v4
- shell: bash
env:
FIREBASE_APP_CONFIGURE_DEV: ${{ secrets.FIREBASE_APP_CONFIGURE_DEV }}
# ビルドを通すためにとりあえずファイルを作る。デプロイはしない
run: |
echo "$FIREBASE_APP_CONFIGURE_DEV" > lib/firebase_options/dev.dart
echo "$FIREBASE_APP_CONFIGURE_DEV" > lib/firebase_options/prod.dart
touch key.env
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
with:
path: app/radio_qth_map/.fvmrc
- uses: subosito/[email protected]
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
cache: true
- run: flutter pub get
- run: flutter gen-l10n
- run: flutter build web
- run: flutter analyze