From e0519018583345e1738de68223ab38dbf223ff31 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Thu, 21 Sep 2023 16:02:43 +0800 Subject: [PATCH 1/2] ci: add melos bootstrap action --- .github/workflows/melos_bootstrap.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/melos_bootstrap.yaml diff --git a/.github/workflows/melos_bootstrap.yaml b/.github/workflows/melos_bootstrap.yaml new file mode 100644 index 000000000..409d6bda0 --- /dev/null +++ b/.github/workflows/melos_bootstrap.yaml @@ -0,0 +1,18 @@ +name: "Melos bootstrap" +on: [pull_request] + +permissions: + contents: read + +jobs: + melos-bootstrap: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # v2.10.0 + with: + channel: "stable" + - name: flutter pub get + run: flutter pub get + - name: Do melos bootstrap + run: dart run melos bootstrap From 9cbdcceb609057463e7baf892321579b9d14141c Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Thu, 21 Sep 2023 16:17:56 +0800 Subject: [PATCH 2/2] chore: use more specific paths for melos.yaml --- melos.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/melos.yaml b/melos.yaml index f9db4a418..184069bc2 100644 --- a/melos.yaml +++ b/melos.yaml @@ -1,6 +1,7 @@ name: at_client_sdk packages: -- packages/** + - packages/* + - packages/*/example -- tests/** + - tests/*