No, the Republican Party did not fight to end slavery. The North fought to stop the South from seceding. This included Northern Democrats, who split off from their Southern counterparts during the Election of 1860, when they had their own separate candidate for president.
Lincoln allowed the slave owning Border States to maintain the practice of slavery, as well as any Confederate territory that the Union captured.