2022-12-13 15:32:28 -07:00
|
|
|
pipeline:
|
2023-01-11 11:42:04 -07:00
|
|
|
testCommit:
|
2022-12-26 16:24:19 -07:00
|
|
|
image: node:latest
|
2022-12-13 15:32:28 -07:00
|
|
|
commands:
|
|
|
|
- cp .config/ci.yml .config/default.yml
|
2023-01-12 21:54:33 -07:00
|
|
|
- corepack enable
|
|
|
|
- corepack prepare pnpm@latest --activate
|
2023-01-12 21:18:16 -07:00
|
|
|
- pnpm i --frozen-lockfile
|
|
|
|
- pnpm run build
|
|
|
|
- pnpm run migrate
|
2022-12-13 15:32:28 -07:00
|
|
|
|
|
|
|
services:
|
|
|
|
database:
|
2023-01-11 11:42:04 -07:00
|
|
|
image: postgres:15
|
2022-12-13 15:32:28 -07:00
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=test
|
2022-12-13 16:11:09 -07:00
|
|
|
redis:
|
|
|
|
image: redis
|
2022-12-13 15:32:28 -07:00
|
|
|
|
|
|
|
branches:
|
2022-12-18 11:41:11 -07:00
|
|
|
include: [ main, develop, feature/* ]
|