From 2a47622224eeed26cfd015ad3b1226f869ba79a2 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 30 Jan 2024 13:36:15 +0100 Subject: [PATCH 1/4] feat!: mark compatible with Node v20 and up --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bc443ec1..2f6c5467 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "puppeteer": "^18.0.0" }, "engines": { - "node": ">=14.15 <20" + "node": ">=18.14.0" }, "type": "module", "repository": { From f890af402172a5750c745dfeafafa76df401e349 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 30 Jan 2024 13:42:07 +0100 Subject: [PATCH 2/4] update node version for build --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 0e80ea55..dc31de6b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ command = "echo 'no op'" publish = "example" [build.environment] -NODE_VERSION = "16.15.1" +NODE_VERSION = "20" [[plugins]] package = "./src/index.js" From d5be9f002ce636641a4bc6ad3cb7d90f328268d7 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 30 Jan 2024 13:42:35 +0100 Subject: [PATCH 3/4] update ci --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7854e626..5413b4d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: [18.x, 20.x, 21.x] steps: - uses: actions/checkout@v4 From d907115d341631551177c2b7efc258338279817a Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 30 Jan 2024 13:43:24 +0100 Subject: [PATCH 4/4] update nvmrc --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index cb406c60..209e3ef4 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.20.2 +20