intuit / auto

Generate releases based on semantic version labels on pull requests.
https://intuit.github.io/auto/
MIT License
2.25k stars 202 forks source link

auto canary fails after upgrading to Node 16 NPM 8 #2247

Open surbhirverma opened 2 years ago

surbhirverma commented 2 years ago

Describe the bug

Unable to run canary build after upgrading to npm version 8.x node version 16.x on github CI. Getting npm ERR! code ENEEDAUTH

To Reproduce

  1. Changed node version to 16.x
        with:
          node-version: '16'
  2. Run npx auto canary --pr ${{ env.PR_NUMBER }} on github worklfow

Expected behavior

Should create a canary build in artifactory

Screenshots

image image

Environment information:

node v16
npm v8

Additional context

surbhirverma commented 2 years ago

Could this issue be because of npm publish https://github.com/npm/cli/issues/2453#issuecomment-1031257849 ?