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

24 lines
529 B
YAML

pipeline:
testCommit:
image: node:latest
commands:
- apt-get update
- apt-get install -y cargo
- rm -rf /var/lib/apt/lists/*
- cp .config/ci.yml .config/default.yml
- corepack enable
- corepack prepare pnpm@latest --activate
- pnpm i --frozen-lockfile
- pnpm run build
- pnpm run migrate
services:
database:
image: postgres:15
environment:
- POSTGRES_PASSWORD=test
redis:
image: redis
branches:
include: [ main, beta, develop, feature/* ]