From 01a39859a9e1e574c5b3b9dd6095496c715df182 Mon Sep 17 00:00:00 2001 From: Cagatay Ulusoy Date: Mon, 18 Nov 2024 21:12:50 +0200 Subject: [PATCH] add widgetbook to melos --- .github/workflows/tests_check.yml | 37 ------------------------------- melos.yaml | 2 +- 2 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 .github/workflows/tests_check.yml diff --git a/.github/workflows/tests_check.yml b/.github/workflows/tests_check.yml deleted file mode 100644 index 8a649ffa..00000000 --- a/.github/workflows/tests_check.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Check for Tests in PR - -on: - pull_request: - types: [opened, synchronize, reopened] - -jobs: - check-for-tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Check for changes in test directory - id: check-tests - run: | - git status --porcelain > changed_files.txt - if grep -qE "^[AM]\s+test/" changed_files.txt; then - echo "Tests found in the PR" - echo "tests_present=true" >> $GITHUB_OUTPUT - else - echo "No tests found in the PR" - echo "tests_present=false" >> $GITHUB_OUTPUT - fi - - - name: Comment on PR if tests are missing - if: steps.check-tests.outputs.tests_present == 'false' - uses: actions/github-script@v7.0.1 - with: - script: | - github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: 'It appears that this PR does not include any tests. It is recommended to add tests, especially for critical changes, to ensure code quality and prevent regressions. However, if this PR is only updating samples or documentation, feel free to skip adding tests and disregard this comment.' - }) \ No newline at end of file diff --git a/melos.yaml b/melos.yaml index 756d4797..bf2a2bcf 100644 --- a/melos.yaml +++ b/melos.yaml @@ -4,7 +4,7 @@ repository: https://github.com/woltapp/wolt_modal_sheet packages: - . ## This is the root package - coffee_maker - - coffee_maker_navigator_2 + - coffee_maker_navigator_2/** - demo_ui_components - playground - playground_navigator2