A Wallkill Valley High School student was charged with arson Friday after lighting a fire in a bathroom garbage can, authorities said.

Students who saw the smoldering garbage can notified school officials, who quickly extinguished the small blaze in the plastic can after it broke out around 9:30 a.m., according to Hardyston police.

Students were dismissed from school at 11:15 a.m. because of a “faint” smell coming from the bathroom. Firefighters cleared smoke from the second-floor bathroom and hallway.

No one was injured. The student charged was not identified because she is a minor.

Wallkill Valley students missed two days of school last month when the high school suffered damage after a house across the street exploded. The cause of that explosion hasn’t been determined. The school serves students from Hardyston, Hamburg, Franklin Borough and Ogdensburg.

Jeff Goldman may be reached at jeff_goldman@njadvancemedia.com. Follow him on Twitter @JeffSGoldman. Find NJ.com on Facebook.