diff --git a/.circleci/config.yml b/.circleci/config.yml index d879d2116a..8af9b8a0ec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,7 +29,7 @@ jobs: frontend: docker: - - image: circleci/node:16 + - image: cimg/node:18.12 steps: - checkout - restore_cache: diff --git a/.nvmrc b/.nvmrc index b6a7d89c68..3c032078a4 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +18 diff --git a/.squash.yml b/.squash.yml index bd3ab61345..b7020f5a3a 100644 --- a/.squash.yml +++ b/.squash.yml @@ -3,7 +3,7 @@ deployments: dockerimage: python:3.10.5-slim-buster build_steps: - apt-get update && apt-get install -y libssl-dev libpq-dev git build-essential libfontconfig1 libfontconfig1-dev curl - - RUN bash -c "curl -sL https://deb.nodesource.com/setup_16.x | bash -" + - RUN bash -c "curl -sL https://deb.nodesource.com/setup_18.x | bash -" - apt install -y nodejs - pip install setuptools pip --upgrade --force-reinstall - cd /code diff --git a/package-lock.json b/package-lock.json index 227e7f4611..b1bd3e66a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -76,7 +76,7 @@ "webpack-cli": "^4.9.1" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 62f1e63f28..ac33f63341 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "repository": "https://github.com/wagtail/wagtail", "private": true, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "browserslist": [ "Firefox ESR",