diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 220e7bd7a..c3de672f1 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -10,7 +10,7 @@ - Social login integrations (Instagram, Facebook) and Make.com/N8N integrations. ## Developer Workflows -- Use Node.js 20.17.0 and pnpm 8+. +- Use Node.js 24+ and pnpm 8+. - Install dependencies: `pnpm install` - Build all apps: `pnpm run build` - Run all apps in dev mode: `pnpm run dev` diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bc472bae5..180d7bdaf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - node-version: ['20.17.0'] + node-version: ['24.4.1'] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.github/workflows/eslint b/.github/workflows/eslint index 8579a8e1c..a77b42a48 100644 --- a/.github/workflows/eslint +++ b/.github/workflows/eslint @@ -36,7 +36,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' cache-dependency-path: | **/package-lock.json diff --git a/.github/workflows/publish-extension.yml b/.github/workflows/publish-extension.yml index f9b4e4e43..111acbc92 100644 --- a/.github/workflows/publish-extension.yml +++ b/.github/workflows/publish-extension.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'pnpm' - name: Install dependencies @@ -29,4 +29,4 @@ jobs: client-id: ${{ secrets.CHROME_CLIENT_ID }} client-secret: ${{ secrets.CHROME_CLIENT_SECRET }} refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }} - file-path: apps/extension/extension.zip \ No newline at end of file + file-path: apps/extension/extension.zip diff --git a/Dockerfile.dev b/Dockerfile.dev index 55fe86905..973370086 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:20-alpine3.19 +FROM node:24-alpine3.21 ARG NEXT_PUBLIC_VERSION ENV NEXT_PUBLIC_VERSION=$NEXT_PUBLIC_VERSION RUN apk add --no-cache g++ make py3-pip supervisor bash caddy diff --git a/Jenkinsfile b/Jenkinsfile index e7a614d09..624a8fadb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any environment { - NODE_VERSION = '20.17.0' + NODE_VERSION = '24.4.1' PR_NUMBER = "${env.CHANGE_ID}" // PR number comes from webhook payload IMAGE_TAG="ghcr.io/gitroomhq/postiz-app-pr:${env.CHANGE_ID}" } diff --git a/package.json b/package.json index eac61e353..cd1cc315e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "keywords": [], "author": "", "engines": { - "node": ">=20.0.0 <21.0.0" + "node": ">=24.0.0 <25.0.0" }, "packageManager": "pnpm@10.6.1", "scripts": { @@ -279,7 +279,7 @@ "vitest": "3.1.4" }, "volta": { - "node": "20.17.0" + "node": "24.4.1" }, "jest-junit": { "outputDirectory": "./reports",