add frontend build to flake checks so a stale npmDepsHash fails CI (#2543)
This commit is contained in:
parent
afeddfced1
commit
a32f3f6edf
1 changed files with 11 additions and 0 deletions
|
|
@ -63,6 +63,17 @@ in
|
|||
# per-system eval of nix/docs/default.nix happens once.
|
||||
inherit (self.packages.${system}) docs;
|
||||
|
||||
# Frontend build. Builds the `hyperhive-frontend` npm package, whose
|
||||
# fixed-output npm-deps derivation pins `npmDepsHash`
|
||||
# (nix/packages/frontend.nix). No other check exercises that FOD:
|
||||
# `cargo-test` forces `.#assets`, but `assets` carries no frontend
|
||||
# dependency, so without this check a stale `npmDepsHash` after a
|
||||
# `package-lock.json` bump that forgets to recompute it sails through
|
||||
# every PR and only breaks when the host toplevel is built on deploy.
|
||||
# Reusing the already-defined `packages.<system>.frontend` derivation
|
||||
# makes such a hash mismatch a red PR instead of a red main.
|
||||
inherit (self.packages.${system}) frontend;
|
||||
|
||||
# `hivectl` CLI reference freshness check. The committed
|
||||
# markdown at `docs/tools/hivectl-cli.md` is the rendered
|
||||
# output of the hidden `hivectl markdown-docs` subcommand
|
||||
|
|
|
|||
Loading…
Reference in a new issue