Skip to content

Commit

Permalink
chore: update node to 22 (LTS since october 2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-ruhlmann committed Jan 22, 2025
1 parent 45adb71 commit 39fc3dc
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-upload-api-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-upload-web-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine as base
FROM node:22-alpine as base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Le projet est organisé en monorepo et géré avec le gestionnaire de packages `
Le code commun au front-end et au back-end (types, fonctions de calculs, etc.) est placé dans le package `shared`.

### Pré-requis
* node (version 20 ou supérieure)
* node (version 22 ou supérieure)
* pnpm (version 9.0.6 ou supérieure)
* docker (optionnel)
* postgresql (si docker non installé)
Expand Down
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"packageManager": "[email protected]",
"engines": {
"node": "20",
"node": "22",
"pnpm": "9.13.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"packageManager": "[email protected]",
"engines": {
"node": "20",
"node": "22",
"pnpm": "9.13.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "benefriches-root",
"license": "MIT",
"engines": {
"node": "20",
"node": "22",
"pnpm": "9.13.0"
},
"version": "1.0.0",
Expand Down

0 comments on commit 39fc3dc

Please sign in to comment.