ci: add woodpecker workflow for building frontend
All checks were successful
ci/woodpecker/push/frontend Pipeline was successful

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-06-19 15:26:20 +02:00
parent 12e7174057
commit ebdc89c63f
Signed by: c8h4
GPG key ID: 6817E9C75C0785D7

19
.woodpecker/frontend.yaml Normal file
View file

@ -0,0 +1,19 @@
---
when:
- event: push
- event: pull_request
path:
- 'frontend/**'
- flake.nix
- flake.lock
- VERSION
steps:
- name: build
image: docker.io/nixos/nix
environment:
NIX_CONFIG: 'experimental-features = nix-command flakes'
commands:
- nix -vL build .#frontend
- mkdir ./dist
- cp -RL ./result/* ./dist/