twitch-bot/.repo-runner.yaml
Knut Ahlers 900e478e00
[ci] Set application to production mode on publish
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-20 01:22:35 +01:00

19 lines
625 B
YAML

---
image: "reporunner/archlinux"
checkout_dir: /go/src/github.com/Luzifer/twitch-bot
commands:
# Dependencies for downloading libraries
- echo -e "[luzifer]\nSigLevel = Optional TrustAll\nServer = https://s3-eu-west-1.amazonaws.com/arch-luzifer-io/repo/\$arch" >>/etc/pacman.conf
- pacman -Syy --noconfirm awk curl git go golangci-lint-bin make nodejs-lts-fermium npm tar unzip which zip
- make lint test publish
environment:
DRAFT: "false"
CGO_ENABLED: 0
GO111MODULE: on
GOPATH: /go
MOD_MODE: readonly
NODE_ENV: production
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/go/bin