Skip to content

Commit

Permalink
Upgrade to Node 20 (#201)
Browse files Browse the repository at this point in the history
* Use Node 20

* npm install, update package-lock.json
  • Loading branch information
shaunanoordin authored Oct 31, 2023
1 parent 60f094a commit a7c4b9a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
uses: zooniverse/ci-cd/.github/workflows/npm_build.yaml@main
with:
commit_id: ${{ github.sha }}
node_version: 'lts/hydrogen'
node_version: 'lts/iron'
output: 'dist'
script: 'build'
2 changes: 1 addition & 1 deletion .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: zooniverse/ci-cd/.github/workflows/npm_build.yaml@main
with:
commit_id: ${{ github.sha }}
node_version: 'lts/hydrogen'
node_version: 'lts/iron'
output: 'dist'
script: 'build'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 'lts/hydrogen'
node-version: 'lts/iron'

- run: npm ci
- run: npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ FYI, the Community Catalog's _intended launch project_ is "How Did We Get Here?"
This project is a React website that connects to various Zooniverse databases/services.

Requires:
- node 18 and npm 9
- node 20 and npm 10

External requirements:
- `zooniverse.org`: required for user auth.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"trim": "^1.0.1"
},
"engines": {
"node": ">= 18",
"npm": ">= 9"
"node": ">= 20",
"npm": ">= 10"
}
}

0 comments on commit a7c4b9a

Please sign in to comment.