A major road will be partly closed every weeknight for three weeks while work takes place to repair potholes and cracks.