Skip to content

Commit

Permalink
Update Node.js to v20 (#362)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alexander Kachkaev <[email protected]>
  • Loading branch information
renovate[bot] and kachkaev authored Mar 5, 2024
1 parent 448fbd2 commit 6791828
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
node-version-file: .tool-versions

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.11.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.18.2-slim AS base
FROM node:20.11.1-slim AS base

ENV NEXT_TELEMETRY_DISABLED true
ENV PLAYWRIGHT_BROWSERS_PATH=/playwright
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@tsconfig/next": "2.0.1",
"@tsconfig/strictest": "2.0.3",
"@types/js-yaml": "4.0.9",
"@types/node": "20.10.2",
"@types/node": "20.11.24",
"@types/nprogress": "0.2.3",
"@types/react": "18.2.62",
"@types/react-dom": "18.2.19",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"extends": [
"@tsconfig/next/tsconfig.json",
"@tsconfig/strictest/tsconfig.json",
"@tsconfig/esm/tsconfig.json",
"@tsconfig/esm/tsconfig.json"
],
"compilerOptions": {
"module": "ESNext",
"target": "ESNext",
"target": "ESNext"
},
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}

0 comments on commit 6791828

Please sign in to comment.