iceshrimp-legacy/.woodpecker/commit.yml

23 lines
487 B
YAML
Raw Permalink Normal View History

2022-12-13 23:32:28 +01:00
pipeline:
2023-01-11 19:42:04 +01:00
testCommit:
2023-05-01 21:09:21 +02:00
image: node:alpine
2022-12-13 23:32:28 +01:00
commands:
2023-05-01 21:09:21 +02:00
- apk add --no-cache cargo python3 make g++
2022-12-13 23:32:28 +01:00
- cp .config/ci.yml .config/default.yml
2023-01-13 05:54:33 +01:00
- corepack enable
- corepack prepare pnpm@latest --activate
- pnpm i --frozen-lockfile
- pnpm run build
- pnpm run migrate
2022-12-13 23:32:28 +01:00
services:
database:
2023-01-11 19:42:04 +01:00
image: postgres:15
2022-12-13 23:32:28 +01:00
environment:
- POSTGRES_PASSWORD=test
2022-12-14 00:11:09 +01:00
redis:
image: redis
2022-12-13 23:32:28 +01:00
branches:
include: [ main, beta, develop, feature/* ]