Skip to content

Commit

Permalink
💚 ++
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Nov 5, 2023
1 parent 8077e0d commit e9c8dcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,4 @@ jobs:
- uses: bluefireteam/melos-action@v2
with:
run-bootstrap: false
- run: melos run files-patch
- run: melos run pre-bootstrap
- run: DISPLAY=:0 melos run github-ci # Run Firefox with displays disabled.
- run: melos run github-ci
10 changes: 2 additions & 8 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,10 @@ command:
runPubGetInParallel: false

scripts:
files-patch:
run: dart $MELOS_ROOT_PATH/scripts/files_patch.dart

pre-bootstrap:
run: |
export MELOS_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_packages.dart true)
melos bootstrap
github-ci:
run: |
dart $MELOS_ROOT_PATH/scripts/files_patch.dart
MELOS_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_packages.dart true) melos bootstrap
export MELOS_IGNORE_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_packages.dart false)
melos exec $(eval echo $MELOS_IGNORE_PACKAGES) -- "dart format --set-exit-if-changed ."
melos exec $(eval echo $MELOS_IGNORE_PACKAGES) --no-flutter -- "dart analyze --fatal-infos"
Expand Down

0 comments on commit e9c8dcb

Please sign in to comment.