The House of Representatives passed an $80 billion spending package with bipartisan support, moving closer to preventing a government shutdown.