2023-09-18 21:01:08 +05:30
|
|
|
steps:
|
|
|
|
build:
|
2023-09-18 22:05:19 +05:30
|
|
|
image: node:18
|
|
|
|
commands:
|
|
|
|
- pnpm install
|
|
|
|
- pnpm run lint
|
|
|
|
- pnpm run test
|
|
|
|
- pnpm run build
|
|
|
|
- pnpm run doc
|
2023-09-18 21:01:08 +05:30
|
|
|
|
|
|
|
services:
|
|
|
|
forgejo:
|
|
|
|
image: codeberg.org/forgejo/forgejo:1.20.1-0
|
|
|
|
environment:
|
|
|
|
- USER_UID=1001
|
|
|
|
- USER_GID=1001
|
|
|
|
- FORGEJO_cors_ENABLED=true
|
|
|
|
- FORGEJO_cors_ALLOW_DOMAIN="*"
|
|
|
|
- FORGEJO_cors_METHODS="GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS"
|
|
|
|
- FORGEJO_cors_ALLOW_CREDENTIALS=false
|
|
|
|
volumes:
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2023-09-18 21:49:20 +05:30
|
|
|
- /woodpecker/src/git.batsense.net/realaravinth/forgejo-notifications-core:/data/gitea/conf/app.ini
|