⬆️(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:
committed by
Jean-Baptiste PENRATH
parent
537dbc7fdd
commit
06d32d9af6
@@ -49,7 +49,7 @@ jobs:
|
|||||||
# ---- Codebase -----
|
# ---- Codebase -----
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:18.18
|
- image: cimg/node:20.16
|
||||||
working_directory: ~/cunningham
|
working_directory: ~/cunningham
|
||||||
steps:
|
steps:
|
||||||
- *checkout_cunningham
|
- *checkout_cunningham
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
key: v1-front-dependencies-{{ checksum "yarn.lock" }}
|
key: v1-front-dependencies-{{ checksum "yarn.lock" }}
|
||||||
lint:
|
lint:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:18.18
|
- image: cimg/node:20.16
|
||||||
working_directory: ~/cunningham
|
working_directory: ~/cunningham
|
||||||
steps:
|
steps:
|
||||||
- *checkout_cunningham
|
- *checkout_cunningham
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:18.18
|
- image: cimg/node:20.16
|
||||||
parallelism: 4
|
parallelism: 4
|
||||||
resource_class: large
|
resource_class: large
|
||||||
working_directory: ~/cunningham
|
working_directory: ~/cunningham
|
||||||
@@ -122,7 +122,7 @@ jobs:
|
|||||||
# ---- Deploy ----
|
# ---- Deploy ----
|
||||||
publish-storybook:
|
publish-storybook:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:18.18
|
- image: cimg/node:20.16
|
||||||
working_directory: ~/cunningham
|
working_directory: ~/cunningham
|
||||||
steps:
|
steps:
|
||||||
- add_ssh_keys:
|
- add_ssh_keys:
|
||||||
@@ -140,7 +140,7 @@ jobs:
|
|||||||
yarn deploy-ghpages
|
yarn deploy-ghpages
|
||||||
publish-packages:
|
publish-packages:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:18.18
|
- image: cimg/node:20.16
|
||||||
auth:
|
auth:
|
||||||
username: $DOCKER_USER
|
username: $DOCKER_USER
|
||||||
password: $DOCKER_PASS
|
password: $DOCKER_PASS
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
"node": ">=18.0.0"
|
"node": ">=18.0.0"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.18.2",
|
"node": "20.16.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ version: "3.5"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
node:
|
node:
|
||||||
image: node:18.18
|
image: node:20.16
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
user: "${DOCKER_USER:-1000}"
|
user: "${DOCKER_USER:-1000}"
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
"@testing-library/dom": "10.4.0"
|
"@testing-library/dom": "10.4.0"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.18.2",
|
"node": "20.16.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
"eslint-plugin-react-hooks": "4.6.2"
|
"eslint-plugin-react-hooks": "4.6.2"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.18.2",
|
"node": "20.16.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
"yup": "1.4.0"
|
"yup": "1.4.0"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.18.2",
|
"node": "20.16.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
"node": ">=18.0.0"
|
"node": ">=18.0.0"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.18.2",
|
"node": "20.16.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.18.2",
|
"node": "20.16.0",
|
||||||
"yarn": "1.22.22"
|
"yarn": "1.22.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user