I talked with a barista that had worked 10 years at Starbucks and he still made minimum wage after all that time, it was specially worrying since minimum wage in this country it's equivalent to 420 usd a month.
There are also other considerations such as PTO, 401k match, HSA match, DCFSA match, yadda yadda, so the only way to keep up with the market is to always be interviewing and evaluating new offers to compare your current compensation to.
Folks rarely have this choice. What industry wants a barista outside food service? This is why we get stuck wearing a green apron for a decade, or working call center jobs, or any other crappy job.
And becoming a nurse isn’t something you switch to after being underpaid as a barista. It’s a career with real training.