2022-12-13 22:32:28 +00:00
|
|
|
pipeline:
|
2023-01-11 18:42:04 +00:00
|
|
|
testCommit:
|
2022-12-26 23:24:19 +00:00
|
|
|
image: node:latest
|
2022-12-13 22:32:28 +00:00
|
|
|
commands:
|
2023-05-01 18:52:38 +00:00
|
|
|
- apt-get update
|
|
|
|
- apt-get install -y cargo
|
|
|
|
- rm -rf /var/lib/apt/lists/*
|
2022-12-13 22:32:28 +00:00
|
|
|
- cp .config/ci.yml .config/default.yml
|
2023-01-13 04:54:33 +00:00
|
|
|
- corepack enable
|
|
|
|
- corepack prepare pnpm@latest --activate
|
2023-01-13 04:18:16 +00:00
|
|
|
- pnpm i --frozen-lockfile
|
|
|
|
- pnpm run build
|
|
|
|
- pnpm run migrate
|
2022-12-13 22:32:28 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
database:
|
2023-01-11 18:42:04 +00:00
|
|
|
image: postgres:15
|
2022-12-13 22:32:28 +00:00
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=test
|
2022-12-13 23:11:09 +00:00
|
|
|
redis:
|
|
|
|
image: redis
|
2022-12-13 22:32:28 +00:00
|
|
|
|
|
|
|
branches:
|
2023-04-02 09:17:54 +00:00
|
|
|
include: [ main, beta, develop, feature/* ]
|