0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00

update node usage to node 18

- fixes #8499
This commit is contained in:
LB Johnston 2022-09-06 19:27:35 +10:00 committed by LB (Ben Johnston)
parent 32aa35b23a
commit f362377b04
5 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ jobs:
frontend:
docker:
- image: circleci/node:16
- image: cimg/node:18.12
steps:
- checkout
- restore_cache:

2
.nvmrc
View File

@ -1 +1 @@
16
18

View File

@ -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

2
package-lock.json generated
View File

@ -76,7 +76,7 @@
"webpack-cli": "^4.9.1"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
}
},
"node_modules/@babel/code-frame": {

View File

@ -4,7 +4,7 @@
"repository": "https://github.com/wagtail/wagtail",
"private": true,
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"browserslist": [
"Firefox ESR",