mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
22 lines
431 B
YAML
22 lines
431 B
YAML
pipeline:
|
|
testCommit:
|
|
image: node:latest
|
|
commands:
|
|
- cp .config/ci.yml .config/default.yml
|
|
- corepack enable
|
|
- corepack prepare pnpm@latest --activate
|
|
- pnpm i --frozen-lockfile
|
|
- pnpm run build
|
|
- pnpm run migrate
|
|
|
|
services:
|
|
database:
|
|
image: postgres:15
|
|
environment:
|
|
- POSTGRES_PASSWORD=test
|
|
redis:
|
|
image: redis
|
|
|
|
branches:
|
|
include: [ main, develop, feature/* ]
|