Skip to content

Github Actions for Flutter Frontend #6

Github Actions for Flutter Frontend

Github Actions for Flutter Frontend #6

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Dart
on:
push:
branches:
- '*'
- '!main'
pull_request:
branches:
- main
jobs:
Build:
#Build-and-Test:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Pub Get
working-directory: fightme_webapp
run: flutter pub get
# Testing part but since we have no test, i comment out
#- run: flutter test
# working-directory: fightme_webapp
- run: flutter build web
working-directory: fightme_webapp