I ran into the same issue with Github Actions and it was simply due to my token on npm being expired.