woocommerce/tools/monorepo-utils
Adrian Moldovan 97e7f86a15
Add the slack-test-report util (#47805)
* Add the slack-test-report util

* Error if the required GitHub context variables are not set

* Error if the required SLACK_CHANNEL env var is not set

* Use a more generic message to be able to report on jobs that are not tests, like build

* Add the alert-on-failure job in ci

* Run for pull_request to test the job

* Setup monorepo first

* Force a linting error

* Better logging

* Use inputs.trigger as report name if set

* Force an e2e test failure

* Set the commit message in the notification

* Use INPUT_TRIGGER for all notifications

* Revert test changes
2024-05-24 13:18:54 -07:00
..
bin Use `ci-jobs` Utility For `ci.yml` Matrix (#43532) 2024-01-12 20:32:14 -08:00
dist Add the slack-test-report util (#47805) 2024-05-24 13:18:54 -07:00
fonts Use `ci-jobs` Utility For `ci.yml` Matrix (#43532) 2024-01-12 20:32:14 -08:00
src Add the slack-test-report util (#47805) 2024-05-24 13:18:54 -07: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.