diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5627d941..5554f958 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.0.0 + - 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 e940f9ae..5e1a8dcb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "stream-buffers": "3.0.2" }, "engines": { - "node": ">=18" + "node": "^18.17 || >=20" }, "peerDependencies": { "semantic-release": ">=20.1.0" diff --git a/package.json b/package.json index 71d2027b..d6f3547d 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "stream-buffers": "3.0.2" }, "engines": { - "node": ">=18" + "node": "^18.17 || >=20" }, "files": [ "lib",