Skip to content

Commit

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

The associated npm version (as of node v22.2.0) is npm v10 (v.10.7.0 for v22.2.0)².

¹ https://github.com/nodejs/release#release-schedule
² https://nodejs.org/dist/index.json
  • Loading branch information
corneliusroemer committed Jun 5, 2024
1 parent d9b824a commit a9fb3df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
14 changes: 7 additions & 7 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, 20]
node: [16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
node: [16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
node: [16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
node: [16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -132,9 +132,9 @@ jobs:
needs: [publish]
runs-on: ubuntu-latest
steps:
- run: gh workflow run ci.yml --repo nextstrain/docker-base
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW_DISPATCH }}
- run: gh workflow run ci.yml --repo nextstrain/docker-base
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW_DISPATCH }}

build-docs:
uses: nextstrain/.github/.github/workflows/docs-ci.yaml@master
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Changelog

## version 2.53.0 - 2024/04/29
## _NEXT_

* Add support for Node.js version 22. ([#1779](https://github.com/nextstrain/auspice/pull/1779))

## version 2.53.0 - 2024/04/29

* Add a download-JSON button within the downloads modal. This is disabled for GISAID sourced data. ([#1764](https://github.com/nextstrain/auspice/pull/1764))
* Add link-outs to load the current dataset in external platforms MicrobeTrace and Taxonium. Note this functionality only works when Auspice is running within the larger nextstrain.org server. ([#1763](https://github.com/nextstrain/auspice/pull/1763))
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 || ^20",
"node": "^16 || ^18 || ^20 || ^22",
"npm": "^7 || ^8 || ^9 || ^10"
},
"bin": {
Expand Down

0 comments on commit a9fb3df

Please sign in to comment.