Skip to content

Commit

Permalink
Remove support for Node.js version 12, add 18
Browse files Browse the repository at this point in the history
- 2022-04-19: [v18 released](https://nodejs.org/en/about/releases/).
- 2022-04-30: [v12 went from LTS to end-of-life status](https://github.com/nodejs/Release#end-of-life-releases).

Also, sync the npm versions which correspond to Node.js v14/v16/v18 per https://nodejs.org/en/download/releases/.
  • Loading branch information
victorlin committed Oct 4, 2022
1 parent 07b66e8 commit 99762f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"repository": "github:nextstrain/auspice",
"homepage": "https://www.npmjs.com/package/auspice",
"engines": {
"node": "^12 || ^14 || ^16",
"npm": ">=6.9"
"node": "^14 || ^16 || ^18",
"npm": "^6.14.4 || ^7.10.0 || ^8.6.0"
},
"bin": {
"auspice": "./auspice.js"
Expand Down

0 comments on commit 99762f4

Please sign in to comment.