woocommerce/tools/monorepo-utils
Adrian Moldovan 13ab9007f6
[testing workflows] Add workflow_call trigger in CI workflow - support daily and other types of runs (#47612)
* Add workflow_call event

* Add tests-daily-run.yml

* Remove workflow version

* Update input value

* Remove secrets from caller workflow

* Rename job

* Check context

* Check context

* Check workflow_call inputs

* Override github.event_name with inputs.trigger

* Fix input name

* Add config for daily e2e tests with Gutenberg

* Update env commands for Gutenberg run

* Add disableHpos env variable in ci-utils

* Revert the trigger to push

* Revert the env variable setting in ci-jobs

* Revert the env variable setting in ci-jobs

* Rebuild utils

* Update test env start command

* Define the Gutenberg Playwright project

* Use path relative to workspace root

* Update events for test projects

* Update events for test projects

* Add changelogs

* Remove the e2e tests with Gutenberg tests from daily runs

* Set the schedule and workflow_dispatch triggers

* Add --project default flag to only run the default tests in CI

* Renamed snapshots to match the new Playwright project name
2024-05-22 11:04:44 -07:00
..
bin Use `ci-jobs` Utility For `ci.yml` Matrix (#43532) 2024-01-12 20:32:14 -08:00
dist [ci-jobs] Add disableHpos test environment variable (#47619) 2024-05-21 18:33:43 -03:00
fonts Use `ci-jobs` Utility For `ci.yml` Matrix (#43532) 2024-01-12 20:32:14 -08:00
src [ci-jobs] Add disableHpos test environment variable (#47619) 2024-05-21 18:33:43 -03:00
.eslintignore Monorepo Utils: Add Code Freeze date function (#37589) 2023-04-13 09:28:53 +12:00
.eslintrc.js Added Monorepo CI Command (#43345) 2024-01-09 15:15:08 -04:00
.gitignore Update the monorepo-utils gitignore to only include index.js and its license file. (#44932) 2024-02-23 13:56:18 -06:00
README.md Add monorepo util to notify slack, add improvements to calling utils and type clean up. (#38185) 2023-05-11 17:23:19 +12:00
jest.config.js Fix Jest Preset (#42707) 2023-12-12 09:58:13 -08:00
package.json [testing workflows] Add workflow_call trigger in CI workflow - support daily and other types of runs (#47612) 2024-05-22 11:04:44 -07:00
tsconfig.json Update monorepo to pnpm 8 and Node to 16.14 (#37915) 2023-04-25 18:49:30 +12:00
webpack.config.js Use `ci-jobs` Utility For `ci.yml` Matrix (#43532) 2024-01-12 20:32:14 -08:00

README.md

Monorepo Utils

Description

A set of CLI tools and scripts for managing the WooCommerce monorepo.

Usage

This command is built on postinstall and can be run from the root of the project. To see a list of available commands you can run this from project root:

pnpm utils

Development

During development you can watch for changes via pnpm start in this directory, this will update the script referenced at the root package.json so you will see immediate changes as you re-run the CLI.