Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22
cache: npm

- name: Install dependencies
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22
cache: npm

- name: Install dependencies
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22
cache: npm

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Early development. Things move fast and not everything listed below is finished.

## Getting started

Prerequisites: Node.js 20 or later, and Docker (for the local database) or your
own PostgreSQL instance.
Prerequisites: Node.js 22 (pinned via `.nvmrc` and `engines`; run `nvm use`),
and Docker (for the local database) or your own PostgreSQL instance.

```bash
# 1. Install dependencies
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"license": "SEE LICENSE IN LICENSE",
"author": "Melvin PETIT (WhiteMuush)",
"type": "module",
"engines": {
"node": "22.x"
},
"scripts": {
"predev": "prisma migrate status || echo '\\n[!] Pending migrations or DB unreachable. If the app errors on a missing table, run: npm run db:migrate\\n'",
"dev": "next dev",
Expand Down