iceshrimp/.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/* ]