Skip to content
Open
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/actions/setup-repo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node-version:
description: "Version used by actions/setup-node"
required: true
default: "20"
default: "22"
yarn-version:
description: "Version of Yarn used to install dependencies"
required: true
Expand Down
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"predeploy": ["yarn build:functions"],
"source": "functions",
"codebase": "maple",
"runtime": "nodejs20",
"runtime": "nodejs22",
"runtimeConfig": ".runtimeconfig.json"
},
{
Expand Down
2 changes: 1 addition & 1 deletion functions/.runtimeconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"runtime": {
"nodejs18": {
"nodejs22": {
"apt": {
"packages": ["ffmpeg"]
}
Expand Down
4 changes: 2 additions & 2 deletions infra/Dockerfile.firebase
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM andreysenov/firebase-tools:latest-node-20
FROM andreysenov/firebase-tools:latest-node-22

USER root
RUN apt update && apt install -y curl python3 python3-pip python3-venv ffmpeg

WORKDIR /app
RUN chown -R node:node .
USER node
USER node
4 changes: 2 additions & 2 deletions infra/Dockerfile.node
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:20-alpine
FROM node:22-alpine

USER root
RUN apk update && apk add curl
RUN apk add --no-cache python3 make g++

WORKDIR /app
RUN chown -R node:node .
USER node
USER node
2 changes: 1 addition & 1 deletion infra/firebase.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"predeploy": ["yarn build:functions"],
"source": "functions",
"codebase": "maple",
"runtime": "nodejs20"
"runtime": "nodejs22"
},
{
"predeploy": [
Expand Down
4 changes: 2 additions & 2 deletions mcp-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ── Build stage ───────────────────────────────────────────────────────────────
FROM node:20-slim AS builder
FROM node:22-slim AS builder

WORKDIR /app

Expand All @@ -11,7 +11,7 @@ COPY *.ts ./
RUN npm run build

# ── Runtime stage ─────────────────────────────────────────────────────────────
FROM node:20-slim AS runtime
FROM node:22-slim AS runtime

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"setRole": "ts-node -P tsconfig.script.json scripts/firebase-admin/setRole.ts"
},
"engines": {
"node": "^20",
"node": "^22",
"yarn": "^1.22.19"
},
"browserslist": {
Expand Down Expand Up @@ -167,7 +167,7 @@
"@types/luxon": "^2.0.9",
"@types/marked": "^4.0.8",
"@types/mustache": "^4.2.1",
"@types/node": "^20.0.0",
"@types/node": "^22.0.0",
"@types/papaparse": "^5.3.5",
"@types/react": "^18.2.43",
"@types/react-copy-to-clipboard": "^5.0.4",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5014,10 +5014,10 @@
dependencies:
undici-types "~5.26.4"

"@types/node@^20.0.0":
version "20.19.41"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.41.tgz#bb266a1e0aaa2f4537d14ae8ebf238dd9ca73ce6"
integrity sha512-ECymXOukMnOoVkC2bb1Vc/w/836DXncOg5m8Xj1RH7xSHZJWNYY6Zh7EH477vcnD5egKNNfy2RpNOmuChhFPgQ==
"@types/node@^22.0.0":
version "22.20.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.20.1.tgz#84e7cdf63cdaa20c134aa317ccc901aa21e16f0e"
integrity sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==
dependencies:
undici-types "~6.21.0"

Expand Down
Loading