jormungandr-bite/.woodpecker/commitDatabase.yml

28 lines
476 B
YAML
Raw Normal View History

2022-12-13 15:32:28 -07:00
pipeline:
migrate:
image: node:19.2.0
commands:
- cp .config/ci.yml .config/default.yml
- corepack enable
- yarn install
- yarn build
2022-12-13 15:32:28 -07:00
- yarn migrate
2022-12-13 15:37:24 -07:00
environment:
- YARN_ENABLE_IMMUTABLE_INSTALLS=false
2022-12-13 15:32:28 -07:00
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:
include: [ master, develop, feature/* ]