From da145fc0c7376f9fa81b971368edf9597fd63f9c Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Wed, 20 Dec 2023 15:07:56 -0600 Subject: [PATCH] Bump node version --- .github/workflows/test.yml | 2 +- .nvmrc | 2 +- package.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a0a878..a82119e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-versions: [ '12', '14' ] + node-versions: [ '20', '21' ] steps: - name: Checkout repository diff --git a/.nvmrc b/.nvmrc index b009dfb..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/* +20 diff --git a/package.json b/package.json index 0af445c..ed6f1c7 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "url": "https://github.com/wordpress/grunt-patch-wordpress/issues" }, "engines": { - "node": ">= 12" + "node": ">=20.10.0", + "npm": ">=10.2.3" }, "main": "Gruntfile.js", "jest": {