Add a frontend compile test for merge requests
There is nothing currently that blocks bad frontend code from merging. It will cause the production build CI to fail once merged, but it'd be great if we could verify before merging -- this MR adds that functionality.
The MR also makes the new frontend test to only run for frontend code changes, and modifies the Django unit tests to only run for backend code changes to speed up CI.