diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4bebcb7792..931870cde2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,14 @@ on: branches: - 'trunk' - 'release/*' + workflow_call: + inputs: + trigger: + description: 'Type of run to trigger. E.g. daily-e2e, release-checks, etc.' + required: true + default: 'default' + type: string + concurrency: group: '${{ github.workflow }}-${{ github.ref }}' cancel-in-progress: true @@ -43,6 +51,11 @@ jobs: } let githubEvent = ${{ toJson( github.event_name ) }}; + let trigger = ${{ toJson( inputs.trigger ) }}; + + if ( trigger ) { + githubEvent = trigger; + } const child_process = require( 'node:child_process' ); child_process.execSync( `pnpm utils ci-jobs ${ baseRef } --event ${ githubEvent }` ); diff --git a/.github/workflows/smoke-test-daily.yml b/.github/workflows/smoke-test-daily.yml index d740708098b..9bd49210775 100644 --- a/.github/workflows/smoke-test-daily.yml +++ b/.github/workflows/smoke-test-daily.yml @@ -268,12 +268,6 @@ jobs: - plugin: 'WooCommerce Shipping & Tax' repo: 'automattic/woocommerce-services' slug: woocommerce-services - - plugin: 'Gutenberg' - repo: 'WordPress/gutenberg' - slug: gutenberg - - plugin: 'Gutenberg - Nightly' - repo: 'bph/gutenberg' - slug: gutenberg steps: - uses: actions/checkout@v3 @@ -410,10 +404,6 @@ jobs: slug: woocommerce-paypal-payments - plugin: 'WooCommerce Shipping & Tax' slug: woocommerce-services - - plugin: 'Gutenberg' - slug: gutenberg - - plugin: 'Gutenberg - Nightly' - slug: gutenberg-nightly steps: - name: Download test report artifact uses: actions/download-artifact@v3 diff --git a/.github/workflows/tests-daily-run.yml b/.github/workflows/tests-daily-run.yml new file mode 100644 index 00000000000..bd41e7953e0 --- /dev/null +++ b/.github/workflows/tests-daily-run.yml @@ -0,0 +1,12 @@ +name: 'Daily tests run' +on: + schedule: + - cron: '25 3 * * *' + workflow_dispatch: + +jobs: + run-tests: + name: 'Run tests' + uses: ./.github/workflows/ci.yml + with: + trigger: 'daily-e2e' diff --git a/packages/js/ai/changelog/ci-add-workflow-call-event b/packages/js/ai/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/ai/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/ai/package.json b/packages/js/ai/package.json index 0ca1626bf64..94fc1afbf87 100644 --- a/packages/js/ai/package.json +++ b/packages/js/ai/package.json @@ -116,7 +116,11 @@ "name": "JavaScript", "command": "test:js", "changes": "src/**/*.{js,jsx,ts,tsx}", - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/api/changelog/ci-add-workflow-call-event b/packages/js/api/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/api/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/api/package.json b/packages/js/api/package.json index 1f13a588cca..f428f5581ab 100644 --- a/packages/js/api/package.json +++ b/packages/js/api/package.json @@ -86,7 +86,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/block-templates/changelog/ci-add-workflow-call-event b/packages/js/block-templates/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/block-templates/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/block-templates/package.json b/packages/js/block-templates/package.json index 13154e2fbc8..e7cabb1f4fa 100644 --- a/packages/js/block-templates/package.json +++ b/packages/js/block-templates/package.json @@ -112,7 +112,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/components/changelog/ci-add-workflow-call-event b/packages/js/components/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/components/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/components/package.json b/packages/js/components/package.json index 564299b09ac..52a75473295 100644 --- a/packages/js/components/package.json +++ b/packages/js/components/package.json @@ -199,7 +199,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/csv-export/changelog/ci-add-workflow-call-event b/packages/js/csv-export/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/csv-export/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/csv-export/package.json b/packages/js/csv-export/package.json index 5cdf5dd4753..f677bd7ffb3 100644 --- a/packages/js/csv-export/package.json +++ b/packages/js/csv-export/package.json @@ -91,7 +91,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/currency/changelog/ci-add-workflow-call-event b/packages/js/currency/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/currency/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/currency/package.json b/packages/js/currency/package.json index 77d5d78fc5b..fd54476a8f7 100644 --- a/packages/js/currency/package.json +++ b/packages/js/currency/package.json @@ -95,7 +95,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/customer-effort-score/changelog/ci-add-workflow-call-event b/packages/js/customer-effort-score/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/customer-effort-score/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/customer-effort-score/package.json b/packages/js/customer-effort-score/package.json index 7639473b809..d7661c2719c 100644 --- a/packages/js/customer-effort-score/package.json +++ b/packages/js/customer-effort-score/package.json @@ -121,7 +121,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/data/changelog/ci-add-workflow-call-event b/packages/js/data/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/data/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/data/package.json b/packages/js/data/package.json index 9bf540cad6e..7b8ba75328c 100644 --- a/packages/js/data/package.json +++ b/packages/js/data/package.json @@ -125,7 +125,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/date/changelog/ci-add-workflow-call-event b/packages/js/date/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/date/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/date/package.json b/packages/js/date/package.json index 6e355263688..6705670160c 100644 --- a/packages/js/date/package.json +++ b/packages/js/date/package.json @@ -102,7 +102,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/experimental/changelog/ci-add-workflow-call-event b/packages/js/experimental/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/experimental/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/experimental/package.json b/packages/js/experimental/package.json index 869c27a887f..7fbebf82079 100644 --- a/packages/js/experimental/package.json +++ b/packages/js/experimental/package.json @@ -131,7 +131,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/explat/changelog/ci-add-workflow-call-event b/packages/js/explat/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/explat/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/explat/package.json b/packages/js/explat/package.json index c4f20743c8c..0e5bf6327a1 100644 --- a/packages/js/explat/package.json +++ b/packages/js/explat/package.json @@ -99,7 +99,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/integrate-plugin/changelog/ci-add-workflow-call-event b/packages/js/integrate-plugin/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/integrate-plugin/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/integrate-plugin/package.json b/packages/js/integrate-plugin/package.json index 263d7cd0f2e..7a40052e4b9 100644 --- a/packages/js/integrate-plugin/package.json +++ b/packages/js/integrate-plugin/package.json @@ -96,7 +96,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/navigation/changelog/ci-add-workflow-call-event b/packages/js/navigation/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/navigation/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/navigation/package.json b/packages/js/navigation/package.json index 6252e2e9571..f6dff27bd00 100644 --- a/packages/js/navigation/package.json +++ b/packages/js/navigation/package.json @@ -105,7 +105,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/number/changelog/ci-add-workflow-call-event b/packages/js/number/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/number/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/number/package.json b/packages/js/number/package.json index f38c43de636..25395fbd127 100644 --- a/packages/js/number/package.json +++ b/packages/js/number/package.json @@ -91,7 +91,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/onboarding/changelog/ci-add-workflow-call-event b/packages/js/onboarding/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/onboarding/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/onboarding/package.json b/packages/js/onboarding/package.json index cb9462511f0..638ce5dd753 100644 --- a/packages/js/onboarding/package.json +++ b/packages/js/onboarding/package.json @@ -117,7 +117,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/packages/js/product-editor/changelog/ci-add-workflow-call-event b/packages/js/product-editor/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/packages/js/product-editor/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/packages/js/product-editor/package.json b/packages/js/product-editor/package.json index fa2956ad1df..1496fa6de08 100644 --- a/packages/js/product-editor/package.json +++ b/packages/js/product-editor/package.json @@ -172,7 +172,11 @@ "src/**/*.{js,jsx,ts,tsx}", "typings/**/*.ts" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/plugins/woocommerce-admin/package.json b/plugins/woocommerce-admin/package.json index da1673a4339..45ce64ab3cc 100644 --- a/plugins/woocommerce-admin/package.json +++ b/plugins/woocommerce-admin/package.json @@ -262,7 +262,11 @@ "tsconfig.json", "client/**/*.{js,jsx,ts,tsx,scss,json}" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/plugins/woocommerce-blocks/package.json b/plugins/woocommerce-blocks/package.json index 5ed195dd739..e74a08ca9e6 100644 --- a/plugins/woocommerce-blocks/package.json +++ b/plugins/woocommerce-blocks/package.json @@ -368,7 +368,11 @@ "tests/js/**/*.{js,ts,tsx,scss,json}", "tests/utils/**/.{js,ts,tsx,scss,json}" ], - "cascade": "test:js" + "cascade": "test:js", + "events": [ + "pull_request", + "push" + ] } ] } diff --git a/plugins/woocommerce/changelog/ci-add-workflow-call-event b/plugins/woocommerce/changelog/ci-add-workflow-call-event new file mode 100644 index 00000000000..4a94d942fe9 --- /dev/null +++ b/plugins/woocommerce/changelog/ci-add-workflow-call-event @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Update events that should trigger the test job(s) diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json index f1459b2ef96..75e342ddb68 100644 --- a/plugins/woocommerce/package.json +++ b/plugins/woocommerce/package.json @@ -52,7 +52,8 @@ "test": "pnpm test:unit", "test:api": "API_TEST_REPORT_DIR=\"$PWD/tests/api\" pnpm exec wc-api-tests test api", "test:api-pw": "USE_WP_ENV=1 pnpm playwright test --config=tests/api-core-tests/playwright.config.js", - "test:e2e-pw": "USE_WP_ENV=1 pnpm playwright test --config=tests/e2e-pw/playwright.config.js", + "test:e2e-pw": "USE_WP_ENV=1 pnpm playwright test --config=tests/e2e-pw/playwright.config.js --project=default", + "test:e2e:gutenberg": "pnpm playwright test --config=tests/e2e-pw/playwright.config.js --project=Gutenberg", "test:perf": "./k6 run ./tests/performance/tests/gh-action-pr-requests.js", "test:env:start": "pnpm env:test", "test:php": "./vendor/bin/phpunit -c ./phpunit.xml", @@ -114,7 +115,11 @@ ], "testEnv": { "start": "env:test" - } + }, + "events": [ + "pull_request", + "push" + ] }, { "name": "PHP 8.0", @@ -135,7 +140,11 @@ "config": { "phpVersion": "8.0" } - } + }, + "events": [ + "pull_request", + "push" + ] }, { "name": "PHP WP: latest - 1", @@ -156,7 +165,11 @@ "config": { "wpVersion": "latest-1" } - } + }, + "events": [ + "pull_request", + "push" + ] }, { "name": "PHP WP: latest - 2", @@ -177,7 +190,11 @@ "config": { "wpVersion": "latest-2" } - } + }, + "events": [ + "pull_request", + "push" + ] }, { "name": "PHP WP: nightly", @@ -199,7 +216,11 @@ "config": { "wpVersion": "nightly" } - } + }, + "events": [ + "pull_request", + "push" + ] }, { "name": "Core e2e tests", @@ -226,6 +247,29 @@ ], "testEnv": { "start": "env:test" + }, + "events": [ + "pull_request", + "push" + ] + }, + { + "name": "Core e2e tests - Gutenberg", + "testType": "e2e", + "command": "test:e2e:gutenberg", + "shardingArguments": [ + "--shard=1/5", + "--shard=2/5", + "--shard=3/5", + "--shard=4/5", + "--shard=5/5" + ], + "changes": [], + "events": [ + "daily-e2e" + ], + "testEnv": { + "start": "env:test && cd plugins/woocommerce && PLUGIN_REPOSITORY='WordPress/gutenberg' PLUGIN_NAME=Gutenberg PLUGIN_SLUG=gutenberg ./tests/e2e-pw/bin/install-plugin.sh" } }, { @@ -278,7 +322,11 @@ ], "testEnv": { "start": "env:test" - } + }, + "events": [ + "pull_request", + "push" + ] }, { "name": "Core API tests - HPOS disabled", @@ -323,7 +371,11 @@ ], "testEnv": { "start": "env:perf" - } + }, + "events": [ + "pull_request", + "push" + ] }, { "name": "Metrics", @@ -339,6 +391,10 @@ "templates/**/*.php", "templates/**/*.html", "tests/metrics/**" + ], + "events": [ + "pull_request", + "push" ] } ] diff --git a/plugins/woocommerce/tests/e2e-pw/playwright.config.js b/plugins/woocommerce/tests/e2e-pw/playwright.config.js index 743dba84310..4ef141f84a1 100644 --- a/plugins/woocommerce/tests/e2e-pw/playwright.config.js +++ b/plugins/woocommerce/tests/e2e-pw/playwright.config.js @@ -70,9 +70,15 @@ const config = { }, projects: [ { - name: 'Chrome', + name: 'default', use: { ...devices[ 'Desktop Chrome' ] }, }, + { + name: 'Gutenberg', + use: { ...devices[ 'Desktop Chrome' ] }, + testIgnore: + /.*smoke-tests\/*|.*js-file-monitor\/*|.*admin-tasks\/*|.*activate-and-setup\/*|.*admin-analytics\/*|.*admin-marketing\/*/, + }, ], }; diff --git a/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-0-Chrome b/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-0-default similarity index 100% rename from plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-0-Chrome rename to plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-0-default diff --git a/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-1-Chrome b/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-1-default similarity index 100% rename from plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-1-Chrome rename to plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-1-default diff --git a/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-2-Chrome b/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-2-default similarity index 100% rename from plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-2-Chrome rename to plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-2-default diff --git a/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-3-Chrome b/plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-3-default similarity index 100% rename from plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-3-Chrome rename to plugins/woocommerce/tests/e2e-pw/tests/customize-store/assembler/homepage.spec.js-snapshots/selected-homepage-blocks-class-frontend-3-default diff --git a/tools/code-analyzer/package.json b/tools/code-analyzer/package.json index 061d5df128f..00c59f3afeb 100644 --- a/tools/code-analyzer/package.json +++ b/tools/code-analyzer/package.json @@ -55,6 +55,10 @@ "jest.config.js", "tsconfig.json", "src/**/*.ts" + ], + "events": [ + "pull_request", + "push" ] } ] diff --git a/tools/monorepo-utils/package.json b/tools/monorepo-utils/package.json index 68cd6d7181c..92d0e48bc61 100644 --- a/tools/monorepo-utils/package.json +++ b/tools/monorepo-utils/package.json @@ -83,6 +83,10 @@ "jest.config.js", "tsconfig.json", "src/**/*.ts" + ], + "events": [ + "pull_request", + "push" ] } ]