Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Fix check-frontend to pre-fetch npm deps with buildNpmPackage (#46) The previous mkBuildStep ran `npm install` at build time, which silently failed because there is no network access in the Nix sandbox. The frontend checks appeared to pass but never actually ran. Switch to buildNpmPackage so npm dependencies are fetched in a fixed-output derivation. Extract npmDepsHash as a shared variable used by both check-frontend and e2e-tests. Co-authored-by: Shelley <shelley@exe.dev> Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/46 Co-authored-by: Michael Lynch <git@mtlynch.io> Co-committed-by: Michael Lynch <git@mtlynch.io>