CVS Health posted higher revenues and disclosed plans to invest millions in its own workforce as part of the second quarter earnings posted Wednesday.