forgejo-notifications-core/.woodpecker.yml

29 lines
776 B
YAML

steps:
setup_forgeo:
image: python
commands:
- pip install requests
- sleep 10 && curl http://forgejo:3000
- make env.config
build:
image: node:18
commands:
- corepack enable
- corepack prepare pnpm@latest-8 --activate
- pnpm install
- pnpm run lint
- pnpm run test
- pnpm run build
- pnpm run doc
services:
forgejo:
image: codeberg.org/forgejo/forgejo:1.20.1-0
environment:
- FORGEJO_cors_ENABLED=true
- FORGEJO_cors_ALLOW_DOMAIN="*"
- FORGEJO_cors_METHODS="GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS"
- FORGEJO_cors_ALLOW_CREDENTIALS=false
volumes:
- /woodpecker/src/git.batsense.net/realaravinth/forgejo-notifications-core:/data/gitea/conf/ci/app.ini