Commit Graph

23 Commits

Author SHA1 Message Date
Vladimir Reznichenko 4311640de2
Monorepo: caching deps per target package in GH actions (#49020)
In this PR, we are implementing per-package build and caching, which optimizes build and fetching cached dependencies times across our workflows.
2024-07-10 14:39:49 +02:00
Christopher Allford ed690db902 Updated `setup-woocommerce-monorepo` Usage 2023-12-09 14:30:10 -08:00
Christopher Allford 8c6b414fe0
Revert "Refactoring Task Infrastructure" (#41928)
Revert "Refactored Task Infrastructure (#41202)"

This reverts commit 96a973b9fa.
2023-12-06 11:36:12 -08:00
Christopher Allford 96a973b9fa
Refactored Task Infrastructure (#41202)
* Fixed NPM packages with invalid names.
* Renamed plugin packages.
* Standardized package NPM scripts.
* Replaced Turborepo with Wireit.
2023-12-06 09:32:32 -08:00
paul sealock cb3ed643c0 just use time 2023-11-28 12:33:48 +13:00
paul sealock f4b788028f fix quotes 2023-11-28 12:25:24 +13:00
paul sealock 9e7bf3d712 add time 2023-11-28 12:19:36 +13:00
paul sealock f4bee14d01 here we go 2023-11-28 12:19:28 +13:00
paul sealock 670a35907e oops 2023-11-28 12:12:29 +13:00
paul sealock c686bfeb8a here we go 2023-11-28 12:11:23 +13:00
paul sealock afa636c379 try this 2023-11-28 12:04:29 +13:00
paul sealock 5af9ebc087 save 2023-11-28 12:03:09 +13:00
paul sealock a9651ecf11 make better branch name 2023-11-28 11:49:59 +13:00
paul sealock 45e016703c rename package release branch 2023-11-28 11:41:00 +13:00
Paul Sealock 072606f0aa
Package Release: Fix fetch depth so Changelogger has history (#39239)
set fetch depth to 0
2023-07-18 08:19:23 +12:00
Paul Sealock b6b093225e
Package release: Handle new package validation (#39008) 2023-06-29 13:28:19 +12:00
Paul Sealock da1dce8f19
Package Release: handle initial release case (#36922) 2023-02-28 09:36:38 +13:00
Sam Seay 79fa0b9413
Fix permissions for NPM package prepare script (#36732)
Contents write is needed to write to pull requests.
2023-02-14 00:27:50 +13:00
Roy Ho 16386238cc
Add minimum required permissions for workflow token (#36200)
* Add minimum required permissions to e2e-tests

* Add minimum token permission to more workflows
2023-01-02 09:28:11 -08:00
Sam Seay 43143b848f
Remove some usages of set-output (#35799)
* Migrate straight script usage of set-output to write to GITHUB_OUTPUT
* Use file_put_contents in php scripts to set GITHUB_OUTPUT
2022-12-06 09:35:49 +13:00
Christopher Allford a49f23abfd
Optimize Workflow Caching (#34607)
* Added Monorepo Setup Action

This action will handle the installation, building, and caching for all
projects within the monorepo. It has inputs for skipping builds and
filtering so that only specific packages are installed and built.

* Removed Test Caching

Caching the results of tests, while an interesting way to avoid
unnecessary execution, seems error-prone. We can't adequately
capture the environment such that we can rely on this working.
For instance, changes in PHP version might break PHPUnit tests,
but, cached runs will be shared across different workflows.

It seems better to just not cache it and rely on people only testing
code that has actually changed in the pull request.

* Added Input Parsing

This SHOULD allow for passing multiple filters as an array argument.

* Updated Workflows

This fully utilizes the new action across all of the workflows.

* Always Cache Build Output

Since there may be other commands run that populate the cache, we
should make sure that we are always caching just in case.
2022-09-13 13:55:03 +12:00
Paul Sealock f20d109164
Release JS Packages: Execute script from GH Action (#33614) 2022-06-29 13:41:43 +12:00
Paul Sealock cb8b139e98
Prep package release workflow: Introduce Hello World (#33576) 2022-06-23 14:04:43 +12:00