The Democratic-led House passed a short-term spending bill on Friday that finances the federal government through mid-December and provides another infusion of military and economic aid to Ukraine as lawmakers acted to avert a partial government shutdown set to begin after midnight.