Unable to retrieve npm package created and published to private repo after following documentation instructions

I followed the GitHub Packages documentation here: https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages

I have the key in my ~/.npmrc per the instructions above (direct link removed because of link limits)

I logged in to npm because the ~/.npmrc config did not seem to work, even though I’ve checked the format of the contents multiple times

I published my package to my org’s repo, and can see it on the repo landing page under packages

I then go to install the same package in another repo, also under the same organization, on the same computer, in a different folder location, after configuring the files according to the instructions here: https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages#installing-a-package

Here is the output, modified for security:

$ npm login --registry=https://npm.pkg.github.com
Username: *****
Password: 
Email: (this IS public) ***@****.***
Logged in as ***** on https://npm.pkg.github.com/.
$ yarn add @***/***@0.0.1 --verbose
yarn add v1.22.4
verbose 0.168012685 Checking for configuration file "/Users/username/workspace/reponame/.npmrc".
verbose 0.168281299 Found configuration file "/Users/username/workspace/reponame/.npmrc".
verbose 0.168540464 Checking for configuration file "/Users/username/.npmrc".
verbose 0.168698069 Found configuration file "/Users/username/.npmrc".
verbose 0.168915188 Checking for configuration file "/Users/username/.nvm/versions/node/v12.16.2/etc/npmrc".
verbose 0.169076261 Checking for configuration file "/Users/username/workspace/reponame/.npmrc".
verbose 0.169205248 Found configuration file "/Users/username/workspace/reponame/.npmrc".
verbose 0.169409917 Checking for configuration file "/Users/username/workspace/.npmrc".
verbose 0.169526942 Checking for configuration file "/Users/username/.npmrc".
verbose 0.169657091 Found configuration file "/Users/username/.npmrc".
verbose 0.243990895 Checking for configuration file "/Users/.npmrc".
verbose 0.248444114 Checking for configuration file "/Users/username/workspace/reponame/.yarnrc".
verbose 0.248772736 Found configuration file "/Users/username/workspace/reponame/.yarnrc".
verbose 0.25280048 Checking for configuration file "/Users/username/.yarnrc".
verbose 0.25417335 Found configuration file "/Users/username/.yarnrc".
verbose 0.256001544 Checking for configuration file "/Users/username/.nvm/versions/node/v12.16.2/etc/yarnrc".
verbose 0.25696739 Checking for configuration file "/Users/username/workspace/reponame/.yarnrc".
verbose 0.257818041 Found configuration file "/Users/username/workspace/reponame/.yarnrc".
verbose 0.266112164 Checking for configuration file "/Users/username/workspace/.yarnrc".
verbose 0.267727127 Checking for configuration file "/Users/username/.yarnrc".
verbose 0.267894884 Found configuration file "/Users/username/.yarnrc".
verbose 0.268297177 Checking for configuration file "/Users/.yarnrc".
verbose 0.272565535 current time: 2020-09-02T00:36:01.008Z
[1/4] 🔍  Resolving packages...
verbose 0.945871253 Performing "GET" request to "https://npm.pkg.github.com/orgname/@orgname%2fpackagename".
verbose 1.14620585 Request "https://npm.pkg.github.com/orgname/@orgname%2fpackagename" finished with status code 401.
verbose 1.159933782 Error: Couldn't find package "@orgname/packagename" on the "npm" registry.
    at MessageError.ExtendableBuiltin (/Users/username/.nvm/versions/node/v12.16.2/lib/node_modules/yarn/lib/cli.js:721:66)
    at new MessageError (/Users/username/.nvm/versions/node/v12.16.2/lib/node_modules/yarn/lib/cli.js:750:123)
    at NpmResolver.<anonymous> (/Users/username/.nvm/versions/node/v12.16.2/lib/node_modules/yarn/lib/cli.js:50683:15)
    at Generator.next (<anonymous>)
    at step (/Users/username/.nvm/versions/node/v12.16.2/lib/node_modules/yarn/lib/cli.js:310:30)
    at /Users/username/.nvm/versions/node/v12.16.2/lib/node_modules/yarn/lib/cli.js:321:13
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Couldn't find package "@orgname/packagename" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

If I’m unable to install on the same machine with a valid token that published (and has read access to) the org’s package repo, I’m not sure how I can expect other developers in my org to be able to use this.

I need guidance on how to properly install a package from a private repo as the documented instructions do not seem to work.

So, after diving into Stack Overflow for far too long, I found this:

The summary from the accepted answer there:

.yarnrc

"@myorg:registry" "https://npm.pkg.github.com"

After updating the .yarnrc per above, I was able to yarn add @org/packagename and it installed as expected.