1
0
Fork 1
mirror of https://example.com synced 2024-11-23 23:16:38 +09:00
firefish/.woodpecker/commitDatabase.yml

29 lines
505 B
YAML
Raw Normal View History

2022-12-14 07:32:28 +09:00
pipeline:
migrate:
image: node:19.2.0
commands:
- cp .config/ci.yml .config/default.yml
- corepack enable
- yarn set version berry
2022-12-14 07:32:28 +09:00
- yarn install
- yarn build
2022-12-14 07:32:28 +09:00
- yarn migrate
2022-12-14 07:37:24 +09:00
environment:
- YARN_ENABLE_IMMUTABLE_INSTALLS=false
2022-12-14 07:32:28 +09:00
services:
database:
image: postgres:${DATABASE}
environment:
- POSTGRES_PASSWORD=test
2022-12-14 08:11:09 +09:00
redis:
image: redis
2022-12-14 07:32:28 +09:00
2022-12-16 09:33:09 +09:00
matrix:
DATABASE:
- 12
- latest
2022-12-14 07:32:28 +09:00
branches:
2022-12-19 03:41:11 +09:00
include: [ main, develop, feature/* ]