The West Ham United striker played 62 minutes in the Stade de France friendly.
Ukraine trailed 4-1 when Yarmolenko left the action, and the visitors’ difficult night continued as France added three late goals.
Yarmolenko and his teammates will be hopeful for the rest of the international break, as they play UEFA Nations League games against Germany and Spain next week.
Elsewhere in Wednesday’s international friendly, Tomas Soucek and Vladimir Coufal were both unused substitutes as the Czech Republic beat Cyprus 2-1.
Lukasz Fabianski, in Poland’s 5-1 win over Finland, and Angelo Ogbonna, in Italy’s 6-0 win over Moldova, also watched from the bench.
All three hope to be in action as their nations also face two UEFA Nations League matches in the next seven days.