diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 394c1e574..0de544695 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,12 +49,14 @@ jobs: - 12 - 14.15.0 - 14 + - 16.13.0 + - 16 os: - ubuntu-latest - windows-latest include: - experimental: true - node-version: '>=15' + node-version: '>=17' os: ubuntu-latest steps: diff --git a/lib/provider.js b/lib/provider.js index 182609472..27110f12a 100644 --- a/lib/provider.js +++ b/lib/provider.js @@ -9,8 +9,9 @@ const [major, minor] = process.version if ( !(major === 12 && minor >= 19) && !(major === 14 && minor >= 15) + && !(major === 16 && minor >= 13) ) { - attention.warn('Unsupported Node.js runtime version. Use ^12.19.0 or ^14.15.0'); + attention.warn('Unsupported Node.js runtime version. Use ^12.19.0, ^14.15.0, or ^16.13.0'); } const url = require('url'); diff --git a/package.json b/package.json index 347ebf1df..4be47db87 100644 --- a/package.json +++ b/package.json @@ -107,6 +107,6 @@ "timekeeper": "^2.2.0" }, "engines": { - "node": "^12.19.0 || ^14.15.0" + "node": "^12.19.0 || ^14.15.0 || ^16.13.0" } }