This PR fixes the Cabal store cache, adds cache restore keys, splits TypeScript dependencies into their own Nix shell, and adds caching of incremental build artifacts.
Building is reduced from ~5 mins to ~1 min 30s. A CI run with changed code and dependencies should be expected to run somewhere between these two numbers, utilising partial caches. The TypeScript typechecking job is also reduced from ~60s to ~20s
This PR fixes the Cabal store cache, adds cache restore keys, splits TypeScript dependencies into their own Nix shell, and adds caching of incremental build artifacts.
Building is reduced from ~5 mins to ~1 min 30s. A CI run with changed code and dependencies should be expected to run somewhere between these two numbers, utilising partial caches. The TypeScript typechecking job is also reduced from ~60s to ~20s