North Korea warns of nuclear action