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