From 9c4e5f58a167acb9520594dfed248d1542cb4f31 Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Sat, 16 Sep 2023 23:34:50 -0500 Subject: [PATCH] feat(node-versions): raised the minimum node version to v18.17 and dropped v19 support BREAKING CHANGE: the minimum required node version is now v18.17, v19 support has been dropped, and the minimum required in the v20 range is v20.6.1 --- .github/workflows/test.yml | 5 +++-- .nvmrc | 1 + package-lock.json | 2 +- package.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 844a0189..8438179f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,8 +13,9 @@ jobs: strategy: matrix: node-version: - - 18.0.0 - - 19 + - 18.17.0 + - 20.6.1 + - 20 os: - ubuntu-latest runs-on: "${{ matrix.os }}" diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..3f430af8 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v18 diff --git a/package-lock.json b/package-lock.json index 16d9b989..194e8767 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "testdouble": "3.19.0" }, "engines": { - "node": ">=18" + "node": "^18.17 || >=20.6.1" }, "peerDependencies": { "semantic-release": ">=20.1.0" diff --git a/package.json b/package.json index abddd572..3d55844a 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "testdouble": "3.19.0" }, "engines": { - "node": ">=18" + "node": "^18.17 || >=20.6.1" }, "files": [ "lib",