i lived in multiple states 2021

During 2021 i was an undergraduate student in Pa my home is NYC and my parents claim me as a dependent on their tax returns. I completed an internship in Ca with for 3 months. I have some interest income. How do I file my state return?