Amazon.com Inc. AMZN, +0.12% said it spent $2.4 million to install industrial air conditioning units in four of its distribution centers following a media report last week detailing sweltering conditions in a Pennsylvania warehouse.

The Allentown Call reported that current and former warehouse workers said temperatures soared in the facility on hot summer days, sometimes rising above 100 degrees during heat waves.