From f0d6fed64eb4e8945e8749d0c30127321b2ae19f Mon Sep 17 00:00:00 2001 From: Gil Pedersen Date: Wed, 31 Jul 2024 10:52:25 +0200 Subject: [PATCH] Node 21+ is not supported See https://github.com/hapijs/hapi/pull/4519 --- .github/workflows/node.js.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 717ed52..73de0b9 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [18, 20, latest] + node-version: [18, 20] steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index cd70cab..670e4c9 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "author": "Gil Pedersen ", "license": "BSD-2-Clause", "engines": { - "node": ">=18.16.0" + "node": ">=18.16.0 && <21" }, "peerDependencies": { "@hapi/hapi": ">=20.0.0"