Hailee Steinfeld wrapped up her high school experience with a "pitch perfect" graduation party.

Steinfeld's friends surprised the "Pitch Perfect 2" star with a huge celebration that included dancing and singing karaoke.

"I had the best night of my life last night with my favorite people," she captioned a photo of her grabbing the mike. "We danced, karaoke-d (screamed, really) I laughed until I CRIED. No really. But actually though."

The 18-year-old actress also celebrated her graduation last week with a cake from Republic Records, which she enjoyed on the beach in the Hamptons with her family. Steinfeld signed a record contract with the label at the end of May and is in the studio working on her debut album, according to Billboard.

"The moment that we met Hailee we found her commitment to music inspiring," Republic Records executive vice president Charlie Walk said in a statement. "She has the vision, natural talent and dedication to compete at the highest level. We are thrilled to be part of her musical journey.

The Oscar nominee released a stripped-down cover of the "Pitch Perfect 2" song "Flashlight" and appeared in Taylor Swift's girl-power music video for "Bad Blood."

Steinfeld joins the other high-profile high school graduates including her "Bad Blood" co-star Zendaya and Olympic champion, Gabby Douglas, who received their diplomas on Friday.