Skip to content

Commit

Permalink
build: updated to Node.JS 22+
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Nov 20, 2024
1 parent e2376c7 commit 29c6ae9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"homepage": "https://www.phpmyfaq.de/",
"engines": {
"node": ">=20.0.0"
"node": ">=22.0.0"
},
"type": "module",
"scripts": {
Expand All @@ -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",
Expand Down

0 comments on commit 29c6ae9

Please sign in to comment.