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:
|
|
|
|
- echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list
|
|
|
|
- apt update
|
|
|
|
- apt install -y nfpm
|
|
|
|
- nfpm pkg --packager deb
|