I, Robot by Isaac Asimov was originally a collection of nine short stories published in magazines between 1940 and 1950 (Super Science Stories, Astounding Science Fiction).
In 1950, Gnome Press compiled them into a fix-up novel with an introductory framing narrative (Dr. Susan Calvin's interviews), creating the unified book we know today. So it is both: a short story collection in origin, a novel in publication form.