Skip to content

Commit d3db281

Browse files
desrosjaduthsirreal
authored
Add Node.js 24 to test strategy (WordPress#71091)
* Dynamically set `node-version-file` input When both `node-version-file` and `node-version` are passed to `actions/setup-node`, a warning is output. When inputs are empty, they are ignored. This will silence the error while keepign the same functionality. * Add Node.js 24 to test matrices. * Revert "Dynamically set `node-version-file` input" This reverts commit 8f95ec0. --------- Co-authored-by: desrosj <[email protected]> Co-authored-by: aduth <[email protected]> Co-authored-by: sirreal <[email protected]>
1 parent 56a32ff commit d3db281

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/create-block.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
node: ['20', '22']
29+
node: ['20', '22', '24']
3030
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']
3131

3232
steps:

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
node: ['20', '22']
36+
node: ['20', '22', '24']
3737
shard: ['1/4', '2/4', '3/4', '4/4']
3838

3939
steps:
@@ -78,7 +78,7 @@ jobs:
7878
strategy:
7979
fail-fast: false
8080
matrix:
81-
node: ['20', '22']
81+
node: ['20', '22', '24']
8282

8383
steps:
8484
- name: Checkout repository

0 commit comments

Comments
 (0)