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

What's Behind the Retail Sector's Fall From Grace? NYSE Trader Weighs in

What's Behind the Retail Sector's Fall From Grace? NYSE Trader Weighs in

Jim Cramer Likes Secular Growers

Jim Cramer Likes Secular Growers

In the Shadow of Bankruptcy: Distressed Investing Opportunity

In the Shadow of Bankruptcy: Distressed Investing Opportunity

$1,320 Gold May Be In The Cards

$1,320 Gold May Be In The Cards

CES 2019: The Future Is Here and it's a Walking Car

CES 2019: The Future Is Here and it's a Walking Car