diff --git a/.github/workflows/rafiki/env-setup/action.yml b/.github/workflows/rafiki/env-setup/action.yml index bc4a77cb77..92adab61ac 100644 --- a/.github/workflows/rafiki/env-setup/action.yml +++ b/.github/workflows/rafiki/env-setup/action.yml @@ -7,7 +7,7 @@ runs: - uses: pnpm/action-setup@v3 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'pnpm' - name: Install dependencies shell: bash diff --git a/localenv/mock-account-servicing-entity/Dockerfile b/localenv/mock-account-servicing-entity/Dockerfile index e2ec4ebebf..79da767312 100644 --- a/localenv/mock-account-servicing-entity/Dockerfile +++ b/localenv/mock-account-servicing-entity/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 AS base +FROM node:22-alpine3.19 AS base WORKDIR /home/rafiki @@ -42,7 +42,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ --frozen-lockfile RUN pnpm --filter mock-account-servicing-entity build -FROM node:20-alpine3.19 AS runner +FROM node:22-alpine3.19 AS runner WORKDIR /home/rafiki diff --git a/localenv/mock-account-servicing-entity/package.json b/localenv/mock-account-servicing-entity/package.json index 9e02eb1a65..2c1746b3d4 100644 --- a/localenv/mock-account-servicing-entity/package.json +++ b/localenv/mock-account-servicing-entity/package.json @@ -38,6 +38,6 @@ "tailwindcss": "^3.4.1" }, "engines": { - "node": "20" + "node": "22" } } diff --git a/package.json b/package.json index 5aa1467276..f3b6747ca0 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "license": "Apache-2.0", "repository": "https://github.com/interledger/rafiki", "engines": { - "pnpm": "^8.15.9", - "node": "20" + "pnpm": "^9.12.0", + "node": "22" }, "packageManager": "pnpm@8.15.9", "scripts": { diff --git a/packages/auth/Dockerfile.dev b/packages/auth/Dockerfile.dev index 60295a4ce2..66d75cee62 100644 --- a/packages/auth/Dockerfile.dev +++ b/packages/auth/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 +FROM node:22-alpine3.19 WORKDIR /home/rafiki diff --git a/packages/auth/Dockerfile.prod b/packages/auth/Dockerfile.prod index 254ec224a4..1054b9dba9 100644 --- a/packages/auth/Dockerfile.prod +++ b/packages/auth/Dockerfile.prod @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 AS base +FROM node:22-alpine3.19 AS base WORKDIR /home/rafiki @@ -43,7 +43,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ --frozen-lockfile RUN pnpm --filter auth build -FROM node:20-alpine3.19 AS runner +FROM node:22-alpine3.19 AS runner WORKDIR /home/rafiki diff --git a/packages/backend/Dockerfile.dev b/packages/backend/Dockerfile.dev index a41567774d..6a0ab48776 100644 --- a/packages/backend/Dockerfile.dev +++ b/packages/backend/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 +FROM node:22-alpine3.19 WORKDIR /home/rafiki diff --git a/packages/backend/Dockerfile.prod b/packages/backend/Dockerfile.prod index 845f851b19..fce1ba0455 100644 --- a/packages/backend/Dockerfile.prod +++ b/packages/backend/Dockerfile.prod @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 AS base +FROM node:22-alpine3.19 AS base WORKDIR /home/rafiki @@ -43,7 +43,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ --frozen-lockfile RUN pnpm --filter backend build -FROM node:20-alpine3.19 AS runner +FROM node:22-alpine3.19 AS runner WORKDIR /home/rafiki diff --git a/packages/frontend/Dockerfile.dev b/packages/frontend/Dockerfile.dev index 734e3d3319..0c532d287d 100644 --- a/packages/frontend/Dockerfile.dev +++ b/packages/frontend/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 AS base +FROM node:22-alpine3.19 AS base WORKDIR /home/rafiki diff --git a/packages/frontend/Dockerfile.prod b/packages/frontend/Dockerfile.prod index ae961b3fdf..7482e93470 100644 --- a/packages/frontend/Dockerfile.prod +++ b/packages/frontend/Dockerfile.prod @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 AS base +FROM node:22-alpine3.19 AS base WORKDIR /home/rafiki @@ -40,7 +40,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ --frozen-lockfile RUN pnpm --filter frontend build -FROM node:20-alpine3.19 AS runner +FROM node:22-alpine3.19 AS runner WORKDIR /home/rafiki diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 79a02ee866..338e0b6187 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -52,6 +52,6 @@ "tailwindcss": "^3.4.1" }, "engines": { - "node": "20" + "node": "22" } } diff --git a/renovate.json b/renovate.json index 9208da1262..e9675451e6 100644 --- a/renovate.json +++ b/renovate.json @@ -16,7 +16,7 @@ "packageRules": [ { "matchPackageNames": ["@types/node", "node"], - "allowedVersions": "<21.0.0" + "allowedVersions": "<23.0.0" } ], "ignorePaths": [