Skip to content

test wasm

test wasm #9

Workflow file for this run

name: preview
on:
pull_request:
paths:
- "lib/**"
- "assets/**"
- "pubspec.yaml"
- "pubspec.lock"
- "web/**"
- ".github/workflows/pr_preview.yaml"
jobs:
deploy:
runs-on: ubuntu-latest
name: deploy
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: master
- name: Install Dependencies
run: flutter packages get
- name: Build for Web
run: flutter build web --wasm
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SLIDE_PUZZLE_1A294 }}'
projectId: slide-puzzle-1a294