Skip to content

Commit

Permalink
Use node version 14
Browse files Browse the repository at this point in the history
The currently used node version `13` [has already reached end-of-life status](https://github.com/nodejs/Release#end-of-life-releases) and is preventing auspice npm updates from working on nextstrain.org (nextstrain#437, nextstrain/auspice@bec41d6)

Choice of `14` is mostly due to consistency as it is already used in GitHub actions:

- [update-dataset-listings](https://github.com/nextstrain/nextstrain.org/blob/04acaaffe766274ded930b6cafc55b75df8c1311/.github/workflows/update-dataset-listings.yml#L16)
- [update-search](https://github.com/nextstrain/nextstrain.org/blob/04acaaffe766274ded930b6cafc55b75df8c1311/.github/workflows/update-search.yml#L22)

Also updating npm version to 6.14.x since it corresponds with node=14 per https://nodejs.org/en/download/releases/.
  • Loading branch information
victorlin committed Nov 23, 2021
1 parent 04acaaf commit 6af3deb
Showing 1 changed file with 2 additions and 2 deletions.
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/nextstrain.org",
"homepage": "https://nextstrain.org",
"engines": {
"node": "13.6.x",
"npm": "6.13.x"
"node": "^14",
"npm": "^6.14"
},
"scripts": {
"build": "./build.sh",
Expand Down

0 comments on commit 6af3deb

Please sign in to comment.