diff --git a/.github/workflows/create-block.yml b/.github/workflows/create-block.yml index 0e4325b53f69d..ad1047aff18dd 100644 --- a/.github/workflows/create-block.yml +++ b/.github/workflows/create-block.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - node: ['16'] + node: ['20'] os: [macos-latest, ubuntu-latest, windows-latest] steps: diff --git a/.github/workflows/pull-request-automation.yml b/.github/workflows/pull-request-automation.yml index b8154e335776a..16187495fa9a9 100644 --- a/.github/workflows/pull-request-automation.yml +++ b/.github/workflows/pull-request-automation.yml @@ -10,7 +10,7 @@ jobs: if: ${{ github.repository == 'WordPress/gutenberg' }} strategy: matrix: - node: ['16'] + node: ['20'] steps: # Checkout defaults to using the branch which triggered the event, which diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 65ba01d0b70e8..1d32af17e659d 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - node: ['16'] + node: ['20'] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/.nvmrc b/.nvmrc index b6a7d89c68e0c..209e3ef4b6247 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +20 diff --git a/package-lock.json b/package-lock.json index dff3b1f78c595..4e804b77927e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -247,8 +247,8 @@ "worker-farm": "1.7.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=8 <9" + "node": ">=20.0.0", + "npm": ">=10 <11" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index a7df84ea029a8..51a23add6bbe9 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=16.0.0", - "npm": ">=8 <9" + "node": ">=20.0.0", + "npm": ">=10 <11" }, "config": { "IS_GUTENBERG_PLUGIN": true