The event in Leeds was the culmination of the Schools Tour of Yorkshire bike relay, in which two pupils, Kitty Yu and Daniel Johnson, both 11, took part.
Becky Lack, HLTA and road safety co-ordinator at the school, said the children were ‘really excited for such a special event.’
“Cycling and road safety are a big focus for the school.
“Because of the Tour de Yorkshire and the Tour de France our pupils are more enthusiastic about cycling,” she said.
The Schools Tour of Yorkshire covered 400 miles, starting in Pickering, with the finish line outside Leeds Civic Hall.
Tankersley pupil Alexander O’Carroll, six, won the South Yorkshire leg of the competition.
The school was the first in Barnsley to be granted silver status from national road safety campaign group Modeshift, which works to improve the health and wellbeing of students by encouraging sustainable travel, such as cycling and walking.