From b0f645214ae2467a3f750f99563c5a1ca7babf29 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Thu, 2 Nov 2023 12:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20++?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 2 ++ melos.yaml | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1afb747be..dd3f1bbc1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,4 +35,6 @@ jobs: - name: Install proxy for tests run: sudo apt-get install -y squid - uses: bluefireteam/melos-action@v2 + with: + run-bootstrap: false - run: melos run github-ci diff --git a/melos.yaml b/melos.yaml index 78655a567..9d5fb99e7 100644 --- a/melos.yaml +++ b/melos.yaml @@ -26,13 +26,17 @@ scripts: run: melos run analyze:dart && melos run analyze:flutter analyze:dart: - run: melos exec --no-flutter -- "dart analyze --fatal-infos" + run: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && dart analyze --fatal-infos || exit 0 + packageFilters: + flutter: false analyze:flutter: - run: melos exec --flutter -- "flutter analyze --fatal-infos" + exec: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && flutter analyze --fatal-infos || exit 0 + packageFilters: + flutter: true dryRun: - exec: dart pub publish --dry-run + exec: dart run $MELOS_ROOT_PATH/scripts/sdk_satisfaction.dart && dart pub publish --dry-run || exit 0 packageFilters: private: false