mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-02 08:48:06 +09:00
28 lines
498 B
YAML
28 lines
498 B
YAML
pipeline:
|
|
migrate:
|
|
image: node:19.2.0
|
|
commands:
|
|
- cp .config/ci.yml .config/default.yml
|
|
- corepack enable
|
|
- yarn install
|
|
- yarn workspace backend run build
|
|
- yarn migrate
|
|
environment:
|
|
- YARN_ENABLE_IMMUTABLE_INSTALLS=false
|
|
|
|
services:
|
|
database:
|
|
image: postgres:${DATABASE}
|
|
environment:
|
|
- POSTGRES_PASSWORD=test
|
|
redis:
|
|
image: redis
|
|
|
|
matrix:
|
|
DATABASE:
|
|
- 12
|
|
- latest
|
|
|
|
branches:
|
|
include: [ master, develop, feature/* ]
|