Skip to content

feat: enable webframeworks #75

feat: enable webframeworks

feat: enable webframeworks #75

Workflow file for this run

name: Pull Request
on:
pull_request:
jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Install dependencies
run: flutter pub get
- uses: invertase/github-action-dart-analyzer@v2.0.0
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: flutter pub get
run: flutter pub get
- name: build flutter web
run: flutter build web
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
projectId: default
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks