Skip to content

Commit

Permalink
Update Node.js
Browse files Browse the repository at this point in the history
Node.js 18.17 or higher is apparently required for Next.js 14 to work, so update it to the latest version: 20.8.10.
  • Loading branch information
iamlogand committed Nov 3, 2023
1 parent 6cdb86b commit 355d360
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '20'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/ElapsedTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ElapsedTime = ({ resetKey }: { resetKey: number }) => {

useEffect(() => {
if (intervalRef.current) {
clearInterval(intervalRef.current)
clearInterval(intervalRef.current as any)
}

setSeconds(0)
Expand Down
30 changes: 23 additions & 7 deletions frontend/package-lock.json

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

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@mui/material": "^5.14.12",
"@mui/x-data-grid": "^6.4.0",
"@types/lodash": "^4.14.194",
"@types/node": "18.15.9",
"@types/node": "^20.8.10",
"@types/react": "18.0.29",
"@types/react-dom": "18.0.11",
"abort-controller": "^3.0.0",
Expand Down

0 comments on commit 355d360

Please sign in to comment.