diff --git a/.github/workflows/dev-nightly.yml b/.github/workflows/dev-nightly.yml index 8535b9481b..e05d11dc86 100644 --- a/.github/workflows/dev-nightly.yml +++ b/.github/workflows/dev-nightly.yml @@ -57,10 +57,10 @@ jobs: - name: Install PHP dependencies run: composer install --no-progress --prefer-dist --no-dev - - name: Set Node.js 20.x + - name: Set Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - uses: pnpm/action-setup@v4 name: Install pnpm diff --git a/docker-compose.yml b/docker-compose.yml index 01780e2be9..4c2d41782c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -67,7 +67,7 @@ services: - pnpm pnpm: - image: node:20-alpine + image: node:22-alpine restart: 'no' command: sh -c "corepack enable && corepack prepare pnpm@latest --activate && pnpm install && pnpm build" working_dir: /app diff --git a/package.json b/package.json index 3af9356f3c..e27a1ded7c 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ ], "homepage": "https://www.phpmyfaq.de/", "engines": { - "node": ">=20.0.0" + "node": ">=22.0.0" }, "type": "module", "scripts": { @@ -24,7 +24,7 @@ "build:prod": "vite build", "lint": "prettier --check .", "lint:fix": "prettier --write .", - "prepare": "husky install", + "prepare": "husky", "pretty-quick": "pretty-quick", "test": "vitest --run", "test:watch": "vitest",