Glee never performed "Summer Nights."
They did perform other Grease songs in Season 1, Episode 17: "Bad Reputation" (Regionals):
Also in Episode 16: "Sectionals" — "Grease" (title song) mashup.
"Summer Nights" was notably absent — likely due to licensing or ensemble size (requires large group call-and-response).