Skip to content

Commit

Permalink
feat: add LTS Gallium as a supported runtime version
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Oct 26, 2021
1 parent 178f678 commit 19b4d0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion lib/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 19b4d0d

Please sign in to comment.