From c12b2c64f450a44656eca6592bc1a17ce5e89e19 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 19 Mar 2024 11:15:08 +0100 Subject: [PATCH] Added support for Node 20 ref https://linear.app/tryghost/issue/ENG-765/add-support-for-node-20 - this adds support for Node 20 because it is EOL and is suitable for our support policy --- .github/workflows/test.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 151354ef..1465f72f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) strategy: matrix: - node: [ '16.13.0', '18.12.1' ] + node: [ '16.13.0', '18.12.1', '20.11.1' ] env: - DB: sqlite3 NODE_ENV: testing diff --git a/package.json b/package.json index 215f7ab1..3a27a424 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "knex-migrator-rollback": "./bin/knex-migrator-rollback" }, "engines": { - "node": "^14.18.0 || ^16.13.0 || ^18.12.1" + "node": "^14.18.0 || ^16.13.0 || ^18.12.1 || ^20.11.1" }, "dependencies": { "@tryghost/database-info": "0.3.21",