⬆️(project) bump project to node 22
"yargs" dependency requires node 22, so we update the project to use it. Node 22 is the latest LTS version, so this is a good time to do it.
This commit is contained in:
2
.github/workflows/crowdin_download.yml
vendored
2
.github/workflows/crowdin_download.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
install-dependencies:
|
install-dependencies:
|
||||||
uses: ./.github/workflows/dependencies.yml
|
uses: ./.github/workflows/dependencies.yml
|
||||||
with:
|
with:
|
||||||
node_version: '20.x'
|
node_version: '22.x'
|
||||||
with-front-dependencies-installation: true
|
with-front-dependencies-installation: true
|
||||||
|
|
||||||
synchronize-with-crowdin:
|
synchronize-with-crowdin:
|
||||||
|
|||||||
2
.github/workflows/crowdin_upload.yml
vendored
2
.github/workflows/crowdin_upload.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
install-dependencies:
|
install-dependencies:
|
||||||
uses: ./.github/workflows/dependencies.yml
|
uses: ./.github/workflows/dependencies.yml
|
||||||
with:
|
with:
|
||||||
node_version: '20.x'
|
node_version: '22.x'
|
||||||
with-front-dependencies-installation: true
|
with-front-dependencies-installation: true
|
||||||
with-build_mails: true
|
with-build_mails: true
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/dependencies.yml
vendored
2
.github/workflows/dependencies.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
node_version:
|
node_version:
|
||||||
required: false
|
required: false
|
||||||
default: '20.x'
|
default: '22.x'
|
||||||
type: string
|
type: string
|
||||||
with-front-dependencies-installation:
|
with-front-dependencies-installation:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|||||||
10
.github/workflows/impress-frontend.yml
vendored
10
.github/workflows/impress-frontend.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
install-dependencies:
|
install-dependencies:
|
||||||
uses: ./.github/workflows/dependencies.yml
|
uses: ./.github/workflows/dependencies.yml
|
||||||
with:
|
with:
|
||||||
node_version: '20.x'
|
node_version: '22.x'
|
||||||
with-front-dependencies-installation: true
|
with-front-dependencies-installation: true
|
||||||
|
|
||||||
test-front:
|
test-front:
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "22.x"
|
||||||
|
|
||||||
- name: Restore the frontend cache
|
- name: Restore the frontend cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "22.x"
|
||||||
- name: Restore the frontend cache
|
- name: Restore the frontend cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "22.x"
|
||||||
|
|
||||||
- name: Restore the frontend cache
|
- name: Restore the frontend cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -109,7 +109,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "22.x"
|
||||||
|
|
||||||
- name: Restore the frontend cache
|
- name: Restore the frontend cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=22"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocknote/server-util": "0.31.1",
|
"@blocknote/server-util": "0.31.1",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"build": "yarn build-mjml-to-html && yarn build-html-to-plain-text"
|
"build": "yarn build-mjml-to-html && yarn build-html-to-plain-text"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "16.15.1"
|
"node": "22"
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/numerique-gouv/impress",
|
"repository": "https://github.com/numerique-gouv/impress",
|
||||||
"author": "DINUM",
|
"author": "DINUM",
|
||||||
|
|||||||
Reference in New Issue
Block a user