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
Sam Seay
262b2ecebd
Don't run CI checks on PRs that are just changelog changes ( #36280 )
2023-01-12 14:09:36 +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
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
roykho
1042f22cf8
Extract cache and build to rest of workflows
2022-05-17 11:48:24 -07:00
roykho
7056cf93b6
Add additional pnpm cache dir
2022-05-16 06:01:53 -07:00
roykho
cf5c47eb09
Cache Composer global store
2022-05-13 13:43:33 -07:00
roykho
8f9957f0d4
Fix smoke test on release
2022-05-12 07:12:29 -07:00
roykho
ab58263e80
Add unique secrets cache key to enable clearing of cache
2022-05-04 15:20:31 -07:00
Roy Ho
1ed5445635
Update workflows to run build zip script ( #32825 )
2022-05-03 11:48:20 +12:00
roykho
45a036f35b
Match minor and patch
2022-05-02 10:08:52 -07:00
roykho
f2e4a686f1
Lock pnpm to specific version
2022-05-02 09:39:40 -07:00
roykho
57c1c0bc1c
Freeze Ubuntu release to 20.04 for best practice and consistency
2022-04-26 18:28:56 -07:00
roykho
fc705cff77
Use glob pattern for hash key
2022-04-26 07:47:50 -07:00
roykho
bd096a6edc
Use glob pattern to cache multiple nested Composer vendor paths
2022-04-26 07:07:15 -07:00
roykho
3f4c2060dd
Clean up and bump versions
2022-04-21 11:46:30 -07:00
roykho
6e5d61da0b
Test pr smoke test workflow
2022-04-21 11:29:53 -07:00
Joel T
1c162a14d2
Updating all instances of pnpx to pnpm dlx/exec
2022-04-07 17:52:05 -07:00
Chi-Hsuan Huang
eb4c0a751e
Add Cancel Previous Runs step to pr-* github actions
2022-03-29 11:53:58 +08:00
jamelreid
af8fedf6f6
Removed whitespace
2022-01-18 11:46:09 -05:00
jamelreid
bb2810abf9
Fixed commands and removed test steps
2022-01-15 14:07:16 -05:00
jamelreid
5dbf994d8e
Added steps to tests condition evaluation
2022-01-15 13:58:25 -05:00
jamelreid
503fada6fb
Removed duplicate plugins/woocommerce
2022-01-12 15:47:45 -05:00
Ron Rennick
49454b7ab0
use PR labels for label check
2022-01-06 08:20:56 -04:00
jamelreid
b95b3a11df
Updated workflow if condition
2022-01-03 18:11:26 -05:00
jamelreid
bd48783c25
Updated test steps to always execute
2021-12-23 18:27:17 -05:00
jamelreid
48dec9ea14
Updated step condition
2021-12-23 18:14:40 -05:00
jamelreid
9be997d36e
Updated to always remove label after smoke test
2021-12-23 18:02:37 -05:00
jamelreid
237bb5ecd5
Updated step condition
2021-12-20 13:10:20 -05:00
jamelreid
69f6850af0
Updated step condition
2021-12-15 17:48:33 -05:00
jamelreid
e5c432e589
Updated TITLE env variable
2021-12-15 17:30:52 -05:00
jamelreid
a24a9dcc7d
Removed 'External' from step title
2021-12-14 12:53:52 -05:00
Jamel Noel Reid
a560b4c524
Removed 'External' from Title
...
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2021-12-14 12:50:04 -05:00
jamelreid
cbf8bfc1d0
Updated workflow to post test results to GitHub PR
2021-12-08 12:50:21 -05:00
Ron Rennick
207030ed9b
remove stray quote in workflow action
2021-11-25 10:24:35 -04:00
roykho
79ee6c00f5
Create a seperate no dev composer install command
2021-11-17 11:32:53 -08:00
roykho
008f2cbea9
Change format of passing flags
2021-11-17 11:24:35 -08:00
roykho
feedced44b
Remove flags
2021-11-17 09:35:20 -08:00
roykho
131e1ae73b
Use correct command to install Jest
2021-11-17 09:11:53 -08:00
roykho
0657b44dd5
Move composer install script to Nx commands
2021-11-17 09:09:09 -08:00
roykho
d977a00ae5
Add in working dir for actual test
2021-11-02 18:26:44 -07:00
roykho
ffd31b6376
Ref trunk
2021-11-02 18:16:06 -07:00
roykho
b9d58359dd
Update smoke test on PR to use pnpm
2021-11-02 18:08:32 -07:00
Greg
54a11300a2
Update remove label logic.
2021-09-24 14:28:36 -06:00
Greg
affb99cae6
Use original if always check
2021-09-23 09:24:16 -06:00
Greg
cf32051f0e
Update if check
2021-09-22 18:08:51 -06:00
Greg
7a2ba8800a
Add safer if check
2021-09-22 15:56:53 -06:00
Greg
299a6b5ca2
Use name instead of labels array
2021-09-20 17:43:53 -06:00