The company adjusts wages when the labor market demands it. Typically when unemployment is low, turnover is high, and retailers are offering more competitive wages. Not out of goodwill.
In 2021/2022, unemployment was below 4% and the labor market was exceptionally tight. The same was true in 2017/2018.
Today, unemployment is higher and trending upward. Hiring is easier than it was a few years ago, so I wouldn’t hold my breath unless or until CVS starts struggling to hire and retain employees again.