Skip to content

Commit

Permalink
Add support for Node.js version 20
Browse files Browse the repository at this point in the history
v20 is the current version, with scheduled end-of-life 2026-04-30¹.

The associated npm version (as of node v20.3.0) is still npm v9².

¹ https://github.com/nodejs/release#release-schedule
² https://nodejs.org/dist/index.json
  • Loading branch information
jameshadfield committed Jun 13, 2023
1 parent c2ba417 commit c11e238
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
node: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
node: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
node: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
node: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"repository": "github:nextstrain/auspice",
"homepage": "https://www.npmjs.com/package/auspice",
"engines": {
"node": "^16 || ^18",
"node": "^16 || ^18 || ^20",
"npm": "^7 || ^8 || ^9"
},
"bin": {
Expand Down

0 comments on commit c11e238

Please sign in to comment.