jormungandr-bite/.woodpecker/commitDatabase.yml

27 lines
455 B
YAML
Raw Normal View History

2022-12-13 15:32:28 -07:00
pipeline:
migrate:
2022-12-26 16:24:19 -07:00
image: node:latest
2022-12-13 15:32:28 -07:00
commands:
- cp .config/ci.yml .config/default.yml
- corepack enable
- yarn set version berry
2022-12-26 16:32:57 -07:00
- yarn install --immutable
- yarn build
2022-12-13 15:32:28 -07:00
- yarn migrate
services:
database:
image: postgres:${DATABASE}
environment:
- POSTGRES_PASSWORD=test
2022-12-13 16:11:09 -07:00
redis:
image: redis
2022-12-13 15:32:28 -07:00
2022-12-15 17:33:09 -07:00
matrix:
DATABASE:
- 12
- latest
2022-12-13 15:32:28 -07:00
branches:
2022-12-18 11:41:11 -07:00
include: [ main, develop, feature/* ]