From 1cee7777a38bac387e83192ace58ce6ba62db634 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Thu, 21 Sep 2023 16:06:29 +0800 Subject: [PATCH] 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 00000000..409d6bda --- /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