(CNN) -- A 5.6-magnitude earthquake struck northeastern Taiwan on Thursday, the U.S. Geological Survey said.