calckey/.woodpecker/commit.yml

22 lines
410 B
YAML
Raw Normal View History

2022-12-13 22:32:28 +00:00
pipeline:
2023-01-11 18:42:04 +00:00
testCommit:
2022-12-26 23:24:19 +00:00
image: node:latest
2022-12-13 22:32:28 +00:00
commands:
- cp .config/ci.yml .config/default.yml
- corepack enable
- yarn set version berry
2022-12-26 23:32:57 +00:00
- yarn install --immutable
2023-01-11 18:42:04 +00:00
- yarn run build
2022-12-13 22:32:28 +00:00
- yarn migrate
services:
database:
2023-01-11 18:42:04 +00:00
image: postgres:15
2022-12-13 22:32:28 +00:00
environment:
- POSTGRES_PASSWORD=test
2022-12-13 23:11:09 +00:00
redis:
image: redis
2022-12-13 22:32:28 +00:00
branches:
2022-12-18 18:41:11 +00:00
include: [ main, develop, feature/* ]