mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
30 lines
494 B
YAML
30 lines
494 B
YAML
pipeline:
|
|
migrate:
|
|
image: node:latest
|
|
commands:
|
|
- cp .config/ci.yml .config/default.yml
|
|
- corepack enable
|
|
- yarn set version berry
|
|
- yarn install --frozen-lockfile
|
|
- 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/* ]
|
|
|
|
depends_on:
|
|
- prSecurityCheck
|