mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-23 17:47:33 +01:00
Update to Node 22 (active LTS)
- See https://nodejs.org/en/blog/release/v22.11.0 - Fixes #12531
This commit is contained in:
parent
21206dc3e7
commit
2e87f4ddec
@ -33,7 +33,7 @@ jobs:
|
|||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:20.9
|
- image: cimg/node:22.11
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
@ -3,7 +3,7 @@ deployments:
|
|||||||
dockerimage: python:3.11.4-slim-bullseye
|
dockerimage: python:3.11.4-slim-bullseye
|
||||||
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_20.x | bash -"
|
- RUN bash -c "curl -sL https://deb.nodesource.com/setup_22.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
generated
2
package-lock.json
generated
@ -89,7 +89,7 @@
|
|||||||
"webpack-cli": "^5.1.4"
|
"webpack-cli": "^5.1.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"repository": "https://github.com/wagtail/wagtail",
|
"repository": "https://github.com/wagtail/wagtail",
|
||||||
"private": true,
|
"private": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=22"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"Firefox ESR",
|
"Firefox ESR",
|
||||||
|
Loading…
Reference in New Issue
Block a user