Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Avoid Playwright dependency in small Nix checks (#57) The shared mkBuildStep wrapper exported PLAYWRIGHT_BROWSERS_PATH for every check derivation. That embedded the Playwright browser store path into tiny checks like check-trailing-newline, so Nix had to realize the full Playwright browser closure before running a shell script that only needs Git, grep, and coreutils. Move the Playwright environment variables into the e2e-tests setup, which is the only build step that needs browser binaries. This keeps the e2e behavior the same while allowing checks such as nix build .#check-trailing-newline to avoid downloading and building Playwright browsers and their large runtime closure. Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/57
| Time to Start | Worker time | Duration | Time to finish | |
| Config | 0s | 4s | 4s | 5s |
| Eval | 3s | 39s | 39s | 43s |
| Build | 6s | 3m55s | 2m10s | 2m17s |
| Test | - | - | - | - |
| Deploy | - | - | - | - |
| Suite | 0s | 4m39s | 2m16s | 2m17s |