relay/.woodpecker.yml

15 lines
485 B
YAML
Raw Normal View History

2022-09-25 23:53:23 +00:00
pipeline:
build:
2022-09-26 00:45:10 +00:00
image: node:18.5.0-bullseye-slim
2022-09-25 23:53:23 +00:00
commands:
2022-09-26 00:45:55 +00:00
- apt-get update && apt-get -y install git python3 build-essential
2022-09-25 23:53:23 +00:00
- yarn
- yarn build
package:
image: debian:stable-slim
commands:
2022-09-26 00:55:14 +00:00
- echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
2022-09-25 23:53:23 +00:00
- apt update
- apt install -y nfpm
- nfpm pkg --packager deb