forgejo-notifications-core/.woodpecker.yml
Aravinth Manivannan 776e037719
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: CI: mount entire conf dir
2023-09-19 00:21:33 +05:30

38 lines
993 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:
- curl http://forgejo:3000
- 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:
- USER_UID=1001
- USER_GID=1001
volumes:
- /woodpecker/src/git.batsense.net/realaravinth/forgejo-notifications-core/integration/conf/ci/:/data/gitea/conf/
#
# deploy_docs:
# image: python
# when:
# event: [push, pull_request, tag, deployment]
# commands:
# - make env
# - make
# - make ci-deploy
# secrets: [GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET]