chore: improve where query & setup testing pipeline #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
- uses: bluefireteam/melos-action@v3 | |
with: | |
run-bootstrap: false | |
melos-version: "3.0.1" | |
- name: "Bootstrap workspace" | |
run: melos bootstrap | |
- name: Analyze project source | |
run: melos run analyze | |
- name: Run tests | |
run: melos run tests |