⬆️(global) upgrade node to 20.x

We are currently using version 18 of node but some packages now requires
 at least node 20.x. As this the LTS version, we upgrade your codebase
 to this version.
This commit is contained in:
jbpenrath
2024-07-29 08:58:24 +02:00
committed by Jean-Baptiste PENRATH
parent 537dbc7fdd
commit 06d32d9af6
8 changed files with 12 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ jobs:
# ---- Codebase -----
build:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.16
working_directory: ~/cunningham
steps:
- *checkout_cunningham
@@ -81,7 +81,7 @@ jobs:
key: v1-front-dependencies-{{ checksum "yarn.lock" }}
lint:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.16
working_directory: ~/cunningham
steps:
- *checkout_cunningham
@@ -92,7 +92,7 @@ jobs:
test:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.16
parallelism: 4
resource_class: large
working_directory: ~/cunningham
@@ -122,7 +122,7 @@ jobs:
# ---- Deploy ----
publish-storybook:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.16
working_directory: ~/cunningham
steps:
- add_ssh_keys:
@@ -140,7 +140,7 @@ jobs:
yarn deploy-ghpages
publish-packages:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.16
auth:
username: $DOCKER_USER
password: $DOCKER_PASS

View File

@@ -29,7 +29,7 @@
"node": ">=18.0.0"
},
"volta": {
"node": "18.18.2",
"node": "20.16.0",
"yarn": "1.22.22"
}
}

View File

@@ -2,7 +2,7 @@ version: "3.5"
services:
node:
image: node:18.18
image: node:20.16
working_dir: /app
user: "${DOCKER_USER:-1000}"
ports:

View File

@@ -34,7 +34,7 @@
"@testing-library/dom": "10.4.0"
},
"volta": {
"node": "18.18.2",
"node": "20.16.0",
"yarn": "1.22.22"
}
}

View File

@@ -22,7 +22,7 @@
"eslint-plugin-react-hooks": "4.6.2"
},
"volta": {
"node": "18.18.2",
"node": "20.16.0",
"yarn": "1.22.22"
}
}

View File

@@ -114,7 +114,7 @@
"yup": "1.4.0"
},
"volta": {
"node": "18.18.2",
"node": "20.16.0",
"yarn": "1.22.22"
}
}

View File

@@ -56,7 +56,7 @@
"node": ">=18.0.0"
},
"volta": {
"node": "18.18.2",
"node": "20.16.0",
"yarn": "1.22.22"
}
}

View File

@@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"volta": {
"node": "18.18.2",
"node": "20.16.0",
"yarn": "1.22.22"
}
}