🔧(Docker) upgrade to node 18.18

The node LTS version is 18 and node 16 has reached its end of support the 11th
september 2023. Furthermore, some JS packages starts to remove support of node
version less than 18. That's why it seems to be the right moment for us to level
up to node 18.18.
This commit is contained in:
Nathan Vasse
2023-11-20 17:12:58 +01:00
committed by NathanVss
parent 35d0821287
commit 98c7075637
2 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ jobs:
# ---- Codebase ----- # ---- Codebase -----
build: build:
docker: docker:
- image: cimg/node:16.18 - image: cimg/node:18.18
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:16.18 - image: cimg/node:18.18
working_directory: ~/cunningham working_directory: ~/cunningham
steps: steps:
- *checkout_cunningham - *checkout_cunningham
@@ -92,7 +92,7 @@ jobs:
test: test:
docker: docker:
- image: cimg/node:16.18 - image: cimg/node:18.18
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:16.18 - image: cimg/node:18.18
working_directory: ~/cunningham working_directory: ~/cunningham
steps: steps:
- add_ssh_keys: - add_ssh_keys:
@@ -141,7 +141,7 @@ jobs:
yarn deploy-storybook yarn deploy-storybook
publish-packages: publish-packages:
docker: docker:
- image: cimg/node:16.15 - image: cimg/node:18.18
auth: auth:
username: $DOCKER_USER username: $DOCKER_USER
password: $DOCKER_PASS password: $DOCKER_PASS

View File

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