Neither, really—Yoshi is a dinosaur. That said, a dinosaur could technically be classified as a type of lizard, so if you had to pick, "lizard" is closer than "dragon." But the most accurate answer is that Yoshi belongs to his own dinosaur-like species in the Mario universe.