Closed
Description
Hi, our NPM publish failed after your (much-appreciated) change to upgrade us to npm-publish@v2:
https://github.com/matrix-org/matrix-react-sdk/actions/runs/5520127165/jobs/10066320474
but the error message is masked by this error:
Run JS-DevTools/npm-publish@a25b4180b728b0279fca97d4e5bccf391685aead
Error: TypeError: _b.toUpperCase is not a function
This seems to be caused by this line:
errorCode = errorPayload?.error?.code?.toUpperCase();
from https://github.com/JS-DevTools/npm-publish/blob/main/src/npm/call-npm-cli.ts#L79
It looks like the code
is not a string?