Skip to content

Add unit-tests for queue drop, closes #609 #553

Add unit-tests for queue drop, closes #609

Add unit-tests for queue drop, closes #609 #553

name: Dart Web
on:
push:
branches: [ master ]
jobs:
build-web:
name: Dart - Web based build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'crates/apps/daw/**'
- uses: subosito/flutter-action@v1
if: steps.changes.outputs.src == 'true'
- name: Install dependencies
run: cd ./crates/apps/daw && flutter pub get
if: steps.changes.outputs.src == 'true'
- name: Build for web
run: cd ./crates/apps/daw && flutter build web --base-href="/augmented-audio/"
if: steps.changes.outputs.src == 'true'
- name: Deploy to GitHub Pages
if: success() && steps.changes.outputs.src == 'true'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./crates/apps/daw/build/web
destination_dir: daw