Skip to content

Merge pull request #80 from trullse/feat/my-suggestions #234

Merge pull request #80 from trullse/feat/my-suggestions

Merge pull request #80 from trullse/feat/my-suggestions #234

Workflow file for this run

name: Build
on:
push:
branches:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install latest Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Initialize
run: |
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter config --enable-web
dart pub global activate pana
- name: Analyze
run: flutter analyze
- name: Check Pana
run: pana --no-warning --exit-code-threshold 10
- name: Build
run: |
cd example/
flutter build web
sed -i 's+href="/"+href="./"+g' build/web/index.html