full ci-cd pipeline built on bun2nix

This commit is contained in:
polwex 2026-04-19 00:54:56 +07:00
parent 7cebe39a14
commit f81d5604ae
11 changed files with 1528 additions and 2 deletions

14
.woodpecker.yml Normal file
View file

@ -0,0 +1,14 @@
when:
- event: [pull_request, push]
steps:
checks:
image: nixos/nix:latest
commands:
- nix develop --accept-flake-config -c bun install --frozen-lockfile
- nix develop --accept-flake-config -c bun run lint
- nix develop --accept-flake-config -c bun run typecheck
- nix develop --accept-flake-config -c bun run build
- nix develop --accept-flake-config -c bun run update:bun-nix
- git diff --exit-code bun.nix
- nix build --accept-flake-config .#default