Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Node.js version 18 #595

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '18'
- run: node --version
- run: npm ci
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dataset-listings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '18'
- run: npm ci
- uses: nextstrain/.github/actions/setup-nextstrain-cli@master
# configure AWS necessary for `collect-datasets.js` and `nextstrain remote upload`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '18'
- run: npm ci
- uses: nextstrain/.github/actions/setup-nextstrain-cli@master
# configure AWS necessary for `collect-search-results.js` and `nextstrain remote upload`
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"repository": "github:nextstrain/nextstrain.org",
"homepage": "https://nextstrain.org",
"engines": {
"node": "^14",
"npm": "^6.14"
"node": "^18",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error from npm run build:

error UNHANDLED REJECTION error:0308010C:digital envelope routines::unsupported

was also observed in nextstrain/auspice#1520. Webpack, an Auspice dependency, is the culprit. This will be fixed once that PR is merged, released, and the Auspice version is bumped for this project.

"npm": "^8.6.0"
},
"scripts": {
"build": "./build.sh",
Expand Down
4 changes: 2 additions & 2 deletions static-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"license": "MIT",
"main": "n/a",
"engines": {
"node": "^14",
"npm": "^6.14"
"node": "^18",
"npm": "^8.6.0"
},
"scripts": {
"develop": "gatsby develop",
Expand Down