Skip to content

Commit d12f942

Browse files
committed
⬆️(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.
1 parent 62f85e7 commit d12f942

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/crowdin_download.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
install-dependencies:
1111
uses: ./.github/workflows/dependencies.yml
1212
with:
13-
node_version: '20.x'
13+
node_version: '22.x'
1414
with-front-dependencies-installation: true
1515

1616
synchronize-with-crowdin:

.github/workflows/crowdin_upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
install-dependencies:
1111
uses: ./.github/workflows/dependencies.yml
1212
with:
13-
node_version: '20.x'
13+
node_version: '22.x'
1414
with-front-dependencies-installation: true
1515
with-build_mails: true
1616

.github/workflows/dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
inputs:
66
node_version:
77
required: false
8-
default: '20.x'
8+
default: '22.x'
99
type: string
1010
with-front-dependencies-installation:
1111
type: boolean

.github/workflows/impress-frontend.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
install-dependencies:
1414
uses: ./.github/workflows/dependencies.yml
1515
with:
16-
node_version: '20.x'
16+
node_version: '22.x'
1717
with-front-dependencies-installation: true
1818

1919
test-front:
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Node.js
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: "20.x"
29+
node-version: "22.x"
3030

3131
- name: Restore the frontend cache
3232
uses: actions/cache@v4
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup Node.js
4949
uses: actions/setup-node@v4
5050
with:
51-
node-version: "20.x"
51+
node-version: "22.x"
5252
- name: Restore the frontend cache
5353
uses: actions/cache@v4
5454
with:
@@ -70,7 +70,7 @@ jobs:
7070
- name: Setup Node.js
7171
uses: actions/setup-node@v4
7272
with:
73-
node-version: "20.x"
73+
node-version: "22.x"
7474

7575
- name: Restore the frontend cache
7676
uses: actions/cache@v4
@@ -109,7 +109,7 @@ jobs:
109109
- name: Setup Node.js
110110
uses: actions/setup-node@v4
111111
with:
112-
node-version: "20.x"
112+
node-version: "22.x"
113113

114114
- name: Restore the frontend cache
115115
uses: actions/cache@v4

src/frontend/servers/y-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "jest"
1414
},
1515
"engines": {
16-
"node": ">=18"
16+
"node": ">=22"
1717
},
1818
"dependencies": {
1919
"@blocknote/server-util": "0.31.1",

src/mail/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "yarn build-mjml-to-html && yarn build-html-to-plain-text"
1515
},
1616
"volta": {
17-
"node": "16.15.1"
17+
"node": "22"
1818
},
1919
"repository": "https://github.com/numerique-gouv/impress",
2020
"author": "DINUM",

0 commit comments

Comments
 (0)