I am trying to publish a npm package with Yarn to a private Artifactory registry. This registry does not require a login. So I do not need to provide any auth. When I set the registry to my local registry, I am able to publish successfully. I.E:
yarn publish
However, when I try to do this same operation in non-interactive mode, I receive a 403 forbidden response from the registry. I.E:
yarn publish --non-interactive
Why does this work with interactive mode but non-interactive mode? I am building a CI-CD pipeline, so I really need this work in non-interactive mode.
I have tried to modify my .yarnrc files, set the registry at the command line, and add the registry to my package json.