The two evolutions
- Sylveon: level up with at least 2 Refresh hearts while knowing a Fairy-type move.
- Umbreon: level up at night with 220 or more friendship.
Affection is not friendship
Hearts in Pokémon Refresh measure affection, which is a separate mechanic. Umbreon only cares about friendship, which is mostly hidden. In Sun and Moon, Eevee starts at 70.
How to check and raise it
- Use the friendship checker in Konikoni City for a rough idea. It cannot tell you exactly whether you have reached 220.
- Keep raising friendship. Players mentioned stockpiling EV-reducing Berries, or leveling up quickly after the main story.
- Level up at night once you think it is high enough, and make sure Eevee does not know a Fairy move.
If it still does not evolve, keep raising friendship and try again at night.