hippofish/.woodpecker/commitDatabase.yml

30 lines
494 B
YAML
Raw Normal View History

2022-12-13 23:32:28 +01:00
pipeline:
migrate:
2022-12-27 00:24:19 +01:00
image: node:latest
2022-12-13 23:32:28 +01:00
commands:
- cp .config/ci.yml .config/default.yml
- corepack enable
- yarn set version berry
2022-12-27 00:24:19 +01:00
- yarn install --frozen-lockfile
- yarn build
2022-12-13 23:32:28 +01:00
- yarn migrate
services:
database:
image: postgres:${DATABASE}
environment:
- POSTGRES_PASSWORD=test
2022-12-14 00:11:09 +01:00
redis:
image: redis
2022-12-13 23:32:28 +01:00
2022-12-16 01:33:09 +01:00
matrix:
DATABASE:
- 12
- latest
2022-12-13 23:32:28 +01:00
branches:
2022-12-18 19:41:11 +01:00
include: [ main, develop, feature/* ]
2022-12-27 00:24:19 +01:00
depends_on:
- prSecurityCheck