I'm trying to use nodegit on GitHub Actions (ubuntu-latest), but it consistently adds 5 minutes to the workflow because it compiles libgit2 each time. Other than caching, how can I speed up the compile time?
I've tried installing libgit2-dev but it still needs to compile. What dependency can I install on apt to make it so that it doesn't need to compile git2 again?