diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2c338c78a..895084eff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/melos.yaml b/melos.yaml index ca3783589..8b6c01258 100644 --- a/melos.yaml +++ b/melos.yaml @@ -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"