forgejo-notifications-core/.woodpecker.yml
Aravinth Manivannan 0450c90967
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: CI: dont mount config
2023-09-19 01:41:20 +05:30

36 lines
860 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=1000
- USER_GID=1000
#
# 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]