mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
26 lines
455 B
YAML
26 lines
455 B
YAML
pipeline:
|
|
migrate:
|
|
image: node:latest
|
|
commands:
|
|
- cp .config/ci.yml .config/default.yml
|
|
- corepack enable
|
|
- yarn set version berry
|
|
- yarn install --immutable
|
|
- yarn build
|
|
- yarn migrate
|
|
|
|
services:
|
|
database:
|
|
image: postgres:${DATABASE}
|
|
environment:
|
|
- POSTGRES_PASSWORD=test
|
|
redis:
|
|
image: redis
|
|
|
|
matrix:
|
|
DATABASE:
|
|
- 12
|
|
- latest
|
|
|
|
branches:
|
|
include: [ main, develop, feature/* ]
|