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: frontend:
docker: docker:
- image: circleci/node:16 - image: cimg/node:18.12
steps: steps:
- checkout - checkout
- restore_cache: - 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 dockerimage: python:3.10.5-slim-buster
build_steps: build_steps:
- apt-get update && apt-get install -y libssl-dev libpq-dev git build-essential libfontconfig1 libfontconfig1-dev curl - 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 - apt install -y nodejs
- pip install setuptools pip --upgrade --force-reinstall - pip install setuptools pip --upgrade --force-reinstall
- cd /code - cd /code

2
package-lock.json wygenerowano
Wyświetl plik

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

Wyświetl plik

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