update node usage to node 18

- fixes #8499
pull/9361/head
LB Johnston 2022-09-06 19:27:35 +10:00 zatwierdzone przez LB (Ben Johnston)
rodzic 32aa35b23a
commit f362377b04
5 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

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

2
.nvmrc
Wyświetl plik

@ -1 +1 @@
16
18

Wyświetl plik

@ -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 wygenerowano
Wyświetl plik

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

Wyświetl plik

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