If you were to travel alongside a beam of light at speeds close to the speed of light (but not exceeding it), time would pass normally for you relative to your own reference frame. This is a consequence of the principle of special relativity known as "time dilation."
According to special relativity, the passage of time for an object in motion relative to an observer at rest appears to slow down. However, this effect is only observed from the perspective of the stationary observer. From your own perspective, traveling with the beam of light, your own time would appear to pass normally. You would not experience any significant time dilation effects.
On the other hand, the stationary observer who sees you traveling at near-light speeds would observe time dilation from their perspective. They would perceive your clock to be running slower compared to their own clock.
It's important to note that time dilation effects become more pronounced as your velocity approaches the speed of light. At speeds significantly lower than the speed of light, the time dilation effect is negligible and not practically observable.
So, to answer your question, if you were traveling alongside a beam of light at near-light speeds (but not quite), time would pass normally for you, but an observer at rest relative to you would observe time dilation in your reference frame.