Document reproducible contributor checks (#105)

This commit is contained in:
Timur Isachenko 2026-07-30 04:32:56 +01:00 committed by GitHub
parent 4f45a04961
commit 4a82bf0803
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 3 deletions

View File

@ -16,4 +16,18 @@ See [LOCAL_DEVELOPMENT.md](./LOCAL_DEVELOPMENT.md) for how to run the app locall
- Keep PRs focused: one feature or fix per PR. - Keep PRs focused: one feature or fix per PR.
- For larger features, open an issue first so we can align on the approach before you invest time. - For larger features, open an issue first so we can align on the approach before you invest time.
- Make sure `pnpm ci:check` passes before requesting review. - Before requesting review, run the same root checks used by CI:
```sh
pnpm ci:check
pnpm test:ci
pnpm vite build
```
- If you changed the website under `web/`, also run:
```sh
pnpm --dir web install --frozen-lockfile
pnpm --dir web run types:check
pnpm --dir web run build
```

View File

@ -3,18 +3,24 @@
## Prerequisites ## Prerequisites
- Node.js 20+ - Node.js 20+
- [pnpm](https://pnpm.io/) - [Corepack](https://nodejs.org/api/corepack.html) (bundled through Node.js 24; install it separately on Node.js 25+)
- A DataForSEO account/API credentials - A DataForSEO account/API credentials
## Local Development Workflow ## Local Development Workflow
```sh ```sh
pnpm install # Activates the exact pnpm version declared in package.json.
corepack enable
pnpm install --frozen-lockfile
# Run once per fresh local DB # Run once per fresh local DB
pnpm run db:migrate:local pnpm run db:migrate:local
``` ```
Verify that `pnpm --version` reports the version declared by the
`packageManager` field in `package.json`. An older global pnpm may reject
the repository's lockfile as incompatible.
Configure `.env.local`: Configure `.env.local`:
1. `cp .env.example .env.local` 1. `cp .env.example .env.local`