Updated at 2:15 p.m. ET

After a monumental legislative victory on taxes this week, Republicans in Congress are scrambling to avoid a chaotic government shutdown that could overshadow their signature tax bill before it even gets signed into law.

House Republicans unveiled a spending bill early Thursday morning that would push a deadline to fund the government back from midnight on Friday to Jan. 19, allowing lawmakers to head home for the holidays without resolving much of their unfinished business.

"The number of options is collapsing down," said Rep. Frank Lucas, R-Okla., according to the AP. "I have faith that at the last possible moment, to paraphrase Churchill, when we have no other choice, we'll do what we need to do."

President Trump sought to toss blame for the tense moment at congressional Democrats on Twitter on Thursday morning.

The continuing resolution that Republicans in the House released Thursday would punt tough decisions related to government spending, immigration and defense into the first part of the new year.

The House is expected to vote on the measure Thursday afternoon. If passed there, the Senate would also need to vote to approve it.

Republicans will need at least some bipartisan support for the measure in the Senate, as the bill needs 60 votes to pass, and Republicans control just 52 seats there.

The House legislation unveiled Thursday would extend short-term authorizations for the Children's Health Insurance Program (CHIP), as well as the Veterans Choice Program, which allows veterans to receive health care at community providers outside of the Veterans Affairs system.

The bill would also temporarily extend a controversial provision in the Foreign Intelligence Surveillance Act, or FISA, Amendments Act, known as Section 702, which was set to expire at the end of the year. The FBI and other intelligence agencies have said it is critical to fighting terrorism.

The stopgap bill includes a nod to defense hawks in Congress who were hoping for caps on defense spending to be lifted, another point of friction with Democrats being delayed. It provides funds to repair two naval ships that were damaged this year in the Pacific, as well as money to bolster ballistic missile defense.

In the new year, when bipartisan budget debates begin again, a pair of major polarizing topics loom.

Congressional Democrats, and some Republicans, are hoping for legislation to protect thousands of undocumented immigrants brought into the U.S. as children. There had been talk that Democrats could threaten a government shutdown to force a vote on the measure, known as the Deferred Action for Childhood Arrivals, but those whispers quieted as the deadline grew closer.

Trump ordered an end to the Obama-era protection program in September, but White House legislative affairs director Marc Short said Thursday that the president was always hoping for Congress to come up with a legislative solution.

"We believe we'll have a resolution to that in January or February," Short told NPR's Rachel Martin.

And a pair of senators are poised to propose legislation to stabilize insurance markets, after the Republican tax plan zeroed out the Affordable Care Act's individual mandate that had required people to buy health insurance. Sen. Susan Collins, R-Maine, had committed to getting legislation passed by the end of the year, but she and Sen. Lamar Alexander, R-Tenn., have now committed to a proposal "after the first of the year."

Copyright 2017 NPR. To see more, visit http://www.npr.org/.