Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump(nodejs): v22 #3182

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rafiki/env-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions localenv/mock-account-servicing-entity/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.19 AS base
FROM node:22-alpine3.19 AS base

WORKDIR /home/rafiki

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion localenv/mock-account-servicing-entity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"tailwindcss": "^3.4.1"
},
"engines": {
"node": "20"
"node": "22"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.19
FROM node:22-alpine3.19

WORKDIR /home/rafiki

Expand Down
4 changes: 2 additions & 2 deletions packages/auth/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.19 AS base
FROM node:22-alpine3.19 AS base

WORKDIR /home/rafiki

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/backend/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.19
FROM node:22-alpine3.19

WORKDIR /home/rafiki

Expand Down
4 changes: 2 additions & 2 deletions packages/backend/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.19 AS base
FROM node:22-alpine3.19 AS base

WORKDIR /home/rafiki

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.19 AS base
FROM node:22-alpine3.19 AS base

WORKDIR /home/rafiki

Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.19 AS base
FROM node:22-alpine3.19 AS base

WORKDIR /home/rafiki

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
"tailwindcss": "^3.4.1"
},
"engines": {
"node": "20"
"node": "22"
}
}
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"packageRules": [
{
"matchPackageNames": ["@types/node", "node"],
"allowedVersions": "<21.0.0"
"allowedVersions": "<23.0.0"
}
],
"ignorePaths": [
Expand Down
Loading