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

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

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

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.

More from Video

Cramer: Get Your Kids Fluent in Salesforce

Cramer: Get Your Kids Fluent in Salesforce

60 Seconds: What Is a Closed-End Fund?

60 Seconds: What Is a Closed-End Fund?

Is the Cannabis Crazy Equivalent to the Dot Com Bubble?

Is the Cannabis Crazy Equivalent to the Dot Com Bubble?

Jim Cramer: Be Careful in the Cannabis Stocks

Jim Cramer: Be Careful in the Cannabis Stocks

What Investors Should Know About Closed-End Funds or CEFs

What Investors Should Know About Closed-End Funds or CEFs