A development of 14 affordable homes has been approved in the historic York suburb of New Earswick.