When a compound subject contains both a singular and a plural noun or pronoun joined by or or nor, the verb should agree with the part of the subject that is nearer the verb. The boy or his friends run every day. His friends or the boy runs every day.
Source