WASHINGTON (NEXSTAR) – Thursday morning Congress released details of the massive spending bill lawmakers must pass by Friday at midnight or face a partial government shutdown.

Lawmakers won’t have much time to analyze and debate the $1.2 trillion deal before tomorrow night’s deadline.

“I think the final product is something that we were able to achieve a lot of key provisions in and wins and to move in the direction that we want even with our tiny, historically small majority,” said House Speaker Mike Johnson (R-La.).

Democrats and Republicans got some of their top priorities, on the right, more money to deal with immigration and for the left, more funding for child healthcare and research.

“This continues to make important investments to lower costs that everyday Americans face,” said Rep. Pete Aguilar (D-Calif.)

The bill essentially keeps domestic spending flat and cuts some foreign aid while slightly increasing money for veterans’ programs and the military.

 “There was some really tough negotiation,” Johnson added.

The House is scheduled to vote on the bill Friday, if it passes, then it’s on to the Senate.

 “As soon as they send us the funding package, I will put it on the Senate floor,” said Senate Majority Leader Chuck Schumer (D-N.Y.)

Some House Republicans say they’ll fight to block the bill arguing it doesn’t cut spending or do enough to fix the border.

“Not one Republican should vote to fund this atrocity. Not one Republican,” said Rep. Chip Roy (R-Texas.)

If enough of those no’s prevail the country could be looking at shutdown Saturday morning.