docs: update documentation with CI image info
This commit is contained in:
@@ -127,6 +127,26 @@ npm run db:setup-postgres
|
||||
DATABASE_PROVIDER=sqlite DATABASE_URL=file:./prisma/ci.db npm run test:acceptance
|
||||
```
|
||||
|
||||
### CI Runner Image
|
||||
|
||||
To speed up CI runs, the project uses a pre-built CI runner image with all dependencies pre-installed.
|
||||
|
||||
**Building the CI image locally:**
|
||||
```bash
|
||||
./scripts/build-ci-image.sh [tag]
|
||||
```
|
||||
|
||||
**Using the CI image:**
|
||||
- Workflows automatically use `ghcr.io/<repo>/ci-runner:latest` when available
|
||||
- Falls back to `node:20-alpine` if image is not found
|
||||
- Image is automatically rebuilt when `package.json` changes
|
||||
|
||||
**CI Image contains:**
|
||||
- Node.js 20 Alpine
|
||||
- All npm dependencies pre-installed
|
||||
- Prisma client pre-generated
|
||||
- System tools (bash, git, python, make, g++)
|
||||
|
||||
### CI/CD Pipeline
|
||||
The project uses Gitea Actions for continuous integration:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user