2022-12-13 23:32:28 +01:00
|
|
|
pipeline:
|
2023-01-11 19:42:04 +01:00
|
|
|
testCommit:
|
2022-12-27 00:24:19 +01:00
|
|
|
image: node:latest
|
2022-12-13 23:32:28 +01:00
|
|
|
commands:
|
|
|
|
- cp .config/ci.yml .config/default.yml
|
2023-01-13 05:18:16 +01:00
|
|
|
- npm i -g pnpm
|
|
|
|
- pnpm i --frozen-lockfile
|
|
|
|
- pnpm run build
|
|
|
|
- pnpm run migrate
|
2022-12-13 23:32:28 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
database:
|
2023-01-11 19:42:04 +01:00
|
|
|
image: postgres:15
|
2022-12-13 23:32:28 +01:00
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=test
|
2022-12-14 00:11:09 +01:00
|
|
|
redis:
|
|
|
|
image: redis
|
2022-12-13 23:32:28 +01:00
|
|
|
|
|
|
|
branches:
|
2022-12-18 19:41:11 +01:00
|
|
|
include: [ main, develop, feature/* ]
|