Republicans already worked with Democrats, when 126 Republicans joined nearly all Democrats to avert a government shutdown.
Note that the bill passed by a wide margin, so any Republican could have voted the other way if they thought their vote would hurt them in a primary. At this point, I think a lot of Republicans are more worried about the general than the primary.