diff --git a/.github/workflows/crowdin_download.yml b/.github/workflows/crowdin_download.yml index 84a075bb..9cdd8172 100644 --- a/.github/workflows/crowdin_download.yml +++ b/.github/workflows/crowdin_download.yml @@ -10,7 +10,7 @@ jobs: install-dependencies: uses: ./.github/workflows/dependencies.yml with: - node_version: '20.x' + node_version: '22.x' with-front-dependencies-installation: true synchronize-with-crowdin: diff --git a/.github/workflows/crowdin_upload.yml b/.github/workflows/crowdin_upload.yml index 0dbfa57a..83937c1b 100644 --- a/.github/workflows/crowdin_upload.yml +++ b/.github/workflows/crowdin_upload.yml @@ -10,7 +10,7 @@ jobs: install-dependencies: uses: ./.github/workflows/dependencies.yml with: - node_version: '20.x' + node_version: '22.x' with-front-dependencies-installation: true with-build_mails: true diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 31097644..9d21f816 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -5,7 +5,7 @@ on: inputs: node_version: required: false - default: '20.x' + default: '22.x' type: string with-front-dependencies-installation: type: boolean diff --git a/.github/workflows/impress-frontend.yml b/.github/workflows/impress-frontend.yml index ab7fcce9..4dfd3298 100644 --- a/.github/workflows/impress-frontend.yml +++ b/.github/workflows/impress-frontend.yml @@ -13,7 +13,7 @@ jobs: install-dependencies: uses: ./.github/workflows/dependencies.yml with: - node_version: '20.x' + node_version: '22.x' with-front-dependencies-installation: true test-front: @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20.x" + node-version: "22.x" - name: Restore the frontend cache uses: actions/cache@v4 @@ -48,7 +48,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20.x" + node-version: "22.x" - name: Restore the frontend cache uses: actions/cache@v4 with: @@ -70,7 +70,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20.x" + node-version: "22.x" - name: Restore the frontend cache uses: actions/cache@v4 @@ -109,7 +109,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20.x" + node-version: "22.x" - name: Restore the frontend cache uses: actions/cache@v4 diff --git a/src/frontend/servers/y-provider/package.json b/src/frontend/servers/y-provider/package.json index d7676939..719417aa 100644 --- a/src/frontend/servers/y-provider/package.json +++ b/src/frontend/servers/y-provider/package.json @@ -13,7 +13,7 @@ "test": "jest" }, "engines": { - "node": ">=18" + "node": ">=22" }, "dependencies": { "@blocknote/server-util": "0.31.1", diff --git a/src/mail/package.json b/src/mail/package.json index b19dc727..d904d626 100644 --- a/src/mail/package.json +++ b/src/mail/package.json @@ -14,7 +14,7 @@ "build": "yarn build-mjml-to-html && yarn build-html-to-plain-text" }, "volta": { - "node": "16.15.1" + "node": "22" }, "repository": "https://github.com/numerique-gouv/impress", "author": "DINUM",