Skip to content

Commit

Permalink
[code-infra] Bring CI to node 20 (#4038)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed Sep 17, 2024
1 parent 7678dd5 commit 7020dd6
Show file tree
Hide file tree
Showing 11 changed files with 111 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default-job: &default-job
working_directory: /tmp/mui-toolpad
resource_class: medium
docker:
- image: cimg/node:18.19.1
- image: cimg/node:20.17
environment:
# Keep in sync with "Save playwright cache"
PLAYWRIGHT_BROWSERS_PATH: /tmp/pw-browsers
Expand Down
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"installCommand": "install:codesandbox",
"buildCommand": "release:build",
"node": "18",
"node": "20",
"packages": [
"packages/create-toolpad-app",
"packages/toolpad-core",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-prisma-data-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"qrcode": "^1.5.3"
},
"devDependencies": {
"@types/node": "^20.14.9",
"@types/node": "^20",
"@types/qrcode": "^1.5.5",
"prisma": "^5.16.1",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"qrcode": "^1.5.3"
},
"devDependencies": {
"@types/node": "^20.14.9",
"@types/node": "^20",
"@types/qrcode": "^1.5.5",
"prisma": "^5.16.1",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
command = "pnpm docs:build"

[build.environment]
NODE_VERSION = "18"
NODE_VERSION = "20"
PNPM_FLAGS = "--frozen-lockfile"

[[plugins]]
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/fs-extra": "11.0.4",
"@types/gtag.js": "0.0.20",
"@types/invariant": "2.2.37",
"@types/node": "22.5.5",
"@types/node": "^20.14.8",
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
Expand Down Expand Up @@ -131,7 +131,7 @@
"zod-to-json-schema": "3.23.3"
},
"engines": {
"node": ">=18",
"node": ">=20",
"pnpm": "9.7.1"
},
"resolutions": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-toolpad-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"devDependencies": {
"@types/inquirer": "9.0.7",
"@types/invariant": "2.2.37",
"@types/node": "22.5.5",
"@types/node": "^20.14.8",
"@types/semver": "7.5.8",
"@types/tar": "6.1.13",
"@types/yargs": "17.0.33",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@toolpad/utils": "workspace:*",
"@types/cors": "2.8.17",
"@types/json-schema": "7.0.15",
"@types/node": "22.5.5",
"@types/node": "^20.14.8",
"@types/react-dev-utils": "9.0.15",
"@vitejs/plugin-react": "4.3.1",
"@webcontainer/env": "1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion playground/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@mui/material": "6.1.0",
"@mui/material-nextjs": "6.1.0",
"@toolpad/core": "workspace:*",
"@types/node": "22.5.5",
"@types/node": "^20.14.8",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"eslint-config-next": "14.2.11",
Expand Down
Loading

0 comments on commit 7020dd6

Please sign in to comment.