Retail took center stage this week as second quarter earnings season wraps up.

Macy's (M - Get Report) , Walmart (WMT - Get Report) , JCPenney (JCP - Get Report) and Nordstrom (JWN - Get Report) reported earnings.

These retailers are taking steps to bolster their digital prowess amid competition from Amazon (AMZN - Get Report) .

Walmart's ecommerce sales rose 40% year over year for its most recent quarter, while Nordstrom's digital sales grew 23%.

Nordstrom and Amazon are holdings of Jim Cramer's charitable trust Action Alerts PLUS.

This article was written by a staff member of TheStreet.