In a statement on Cwmcarn High School's website, headteacher Jacqui Peplinski said "concerns were dealt with swiftly".
"There was no risk to any staff or learner and the relevant support services were contacted as a precautionary measure."
"Cwmcarn High is a caring and safe environment and we are committed to everyone’s safety."
More top news
There'll be bracing winds and heavy showers this afternoon and expect a wet and windy start on Monday morning.
Carl Edwards and guests look back at the week's events in the latest edition of Newsweek Wales.
A Yellow Warning has been issued by the Met Office as gale force winds and showery rain affect areas across Wales.