Skip to content

Commit

Permalink
💚 ++
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Nov 4, 2023
1 parent c933230 commit e8e0585
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ jobs:
run: sudo apt-get install -y squid
- run: dart pub get
- uses: bluefireteam/melos-action@v2
with:
run-bootstrap: false
- run: melos run pre-bootstrap
- run: DISPLAY=:0 MOZ_HEADLESS=1 melos run github-ci # Run Firefox in headless mode and disable displays.
6 changes: 4 additions & 2 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ ide:
command:
bootstrap:
runPubGetInParallel: false
hooks: export MELOS_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_bootstrap_ignores.dart)

scripts:
pre-bootstrap:
run: export MELOS_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_bootstrap_ignores.dart) && melos bootstrap

github-ci:
run: export MELOS_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_bootstrap_ignores.dart) && melos format && melos analyze && melos dryRun && melos test
run: export MELOS_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_bootstrap_ignores.dart) && melos prepare-packages && melos format && melos analyze && melos dryRun && melos test

format:
exec: dart format --set-exit-if-changed .
Expand Down

0 comments on commit e8e0585

Please sign in to comment.