Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

fix: upgrade to Node 22 LTS to fix lockfile compatibility

rmyndharisf6ffa9432606
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7aa7869c1..61976deb8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,7 @@ on:
branches: [main, develop]
env:
- NODE_VERSION: '20'
+ NODE_VERSION: '22'
jobs:
lint:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c342f1548..448a0a63c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,7 +5,7 @@ on:
tags: ['v*']
env:
- NODE_VERSION: '20'
+ NODE_VERSION: '22'
permissions:
contents: write
diff --git a/Dockerfile b/Dockerfile
index 367cbdcba..2a6793605 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@
# Multi-stage build for production-ready image
# ===== Stage 1: Builder =====
-FROM node:20-slim AS builder
+FROM node:22-slim AS builder
WORKDIR /app
@@ -26,7 +26,7 @@ COPY . .
RUN npm run build
# ===== Stage 2: Production =====
-FROM node:20-slim AS production
+FROM node:22-slim AS production
# Install Chrome/Chromium and required dependencies
RUN apt-get update && apt-get install -y \