Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a7c5b0e
Bump the minimum required version of Node.js and npm.
desrosj Oct 17, 2023
1382aa4
Merge remote-tracking branch 'upstream/trunk' into update/nodejs-20
desrosj Nov 13, 2023
ecf47f7
Eliminate duplicate CSS rule.
desrosj Nov 13, 2023
2543955
Merge remote-tracking branch 'upstream/trunk' into update/nodejs-20
desrosj Nov 14, 2023
e0af00f
Merge branch 'trunk' of https://github.com/WordPress/wordpress-develo…
desrosj Nov 17, 2023
71c26f7
Merge remote-tracking branch 'upstream/trunk' into update/nodejs-20
desrosj Nov 20, 2023
db1be3e
Add `engine` definition to default themes.
desrosj Nov 20, 2023
e6437cd
Test Node.js 18 and 20.
desrosj Nov 20, 2023
9c3c7f3
Add Node.js version to Gutenberg testing.
desrosj Nov 20, 2023
442cb69
Test against PR branch.
desrosj Nov 20, 2023
725db11
Add Node.JS version to job name.
desrosj Nov 20, 2023
d0376ef
Update to Node.js 20.
desrosj Dec 5, 2023
495982d
Use the `trunk` version of the build workflow.
desrosj Dec 5, 2023
b8ae40a
Check the desired version of Node is being used.
desrosj Dec 6, 2023
f8f31e6
Use the `setup-node` action instead of `nvm`.
desrosj Dec 6, 2023
0186507
Change Node version back after resetting.
desrosj Dec 6, 2023
7caaa38
Merge remote-tracking branch 'upstream/trunk' into update/nodejs-20
desrosj Dec 7, 2023
c7b38d9
Merge remote-tracking branch 'upstream/trunk' into update/nodejs-20
desrosj Dec 18, 2023
506e68d
Merge branch 'trunk' into update/nodejs-20
desrosj Dec 19, 2023
f326358
Merge remote-tracking branch 'upstream/trunk' into update/nodejs-20
desrosj Dec 20, 2023
b6c9f1c
Add `check-latest` to ensure the needed version is installed.
desrosj Dec 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Node.js version to Gutenberg testing.
Also test sending no `node` input.
  • Loading branch information
desrosj committed Nov 20, 2023
commit 9c3c7f39143e70db3ee23e32d5573d5d8fa3c826
6 changes: 6 additions & 0 deletions .github/workflows/callable-test-gutenberg-build-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
required: false
type: 'string'
default: 'src'
node:
description: 'The version of Node.js to test'
required: false
type: 'string'
default: ''

env:
GUTENBERG_DIRECTORY: ${{ inputs.directory == 'build' && 'build' || 'src' }}/wp-content/plugins/gutenberg
Expand Down Expand Up @@ -56,6 +61,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ inputs.node }}
node-version-file: '.nvmrc'
cache: npm
cache-dependency-path: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-build-processes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
matrix:
os: [ ubuntu-latest, windows-latest ]
directory: [ 'src', 'build' ]
node: [ '', '18', '20' ]
node: [ '18', '20' ]
with:
os: ${{ matrix.os }}
directory: ${{ matrix.directory }}
Expand All @@ -65,11 +65,9 @@ jobs:
matrix:
os: [ macos-latest ]
directory: [ 'src', 'build' ]
node: [ '18', '20' ]
with:
os: ${{ matrix.os }}
directory: ${{ matrix.directory }}
node: ${{ matrix.node }}

# Tests the Gutenberg plugin build process on multiple operating systems when run within a wordpress-develop checkout.
test-gutenberg-build-process:
Expand Down