diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b557801..b7d6450 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "22" - name: Install Frontend Dependencies run: cd frontend && npm ci diff --git a/.gitea/workflows/pages-deploy.yml b/.gitea/workflows/pages-deploy.yml index 522b9b9..da20d3e 100644 --- a/.gitea/workflows/pages-deploy.yml +++ b/.gitea/workflows/pages-deploy.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - name: Install dependencies run: cd frontend && npm ci diff --git a/docs/SETUP.md b/docs/SETUP.md index ea1f8df..bb5ec9a 100644 --- a/docs/SETUP.md +++ b/docs/SETUP.md @@ -5,7 +5,7 @@ This guide covers prerequisites, environment setup, running the application loca ## Prerequisites - **Docker & Docker Compose**: Required for running the full stack (playout, chat, nginx, redis, db, prometheus, grafana). Install from [docker.com](https://www.docker.com). -- **Node.js 20+**: Required for frontend development and production builds (`cd frontend && npm install && npm run build`). +- **Node.js 22+**: Required for frontend development and production builds (`cd frontend && npm install && npm run build`). - **npm**: Installed with Node.js and used for the frontend dependency installation and Vite workflow. - **Go 1.23+**: Recommended when working on the Go services outside Docker (`backend/chat`, `backend/playout`). - **FFmpeg**: Used by the playout service for HLS generation. Install via `apt install ffmpeg` (Linux), Homebrew (macOS), or Winget (Windows). diff --git a/frontend/package.json b/frontend/package.json index 41e5e94..c5783be 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,6 +3,9 @@ "private": true, "version": "1.0.11", "type": "module", + "engines": { + "node": ">=22.0.0" + }, "scripts": { "dev": "vite", "build": "tsc && vite build",