Closed gameolive-studio closed 3 years ago
I'm also having issues publishing a private package for an org.
After some investigating, yarn doesn't even support this command so no surprise. https://github.com/yarnpkg/yarn/issues/5310
Maybe should use NPM for publishing.
Yes, looks like the solution in #12 won't work. I think another suggestion was to support configurable arguments for yarn publish
. Do you maybe want to try it and create a PR?
a quick question to understand, At https://github.com/pascalgn/npm-publish-action/blob/master/index.js#L127 why we are doing yarn publish may be it makes sense to use npm publish
instead
I have forked the repo and want to try it out https://github.com/gameolive-studio/npm-publish-action
but not don't know hot what to put in my workflow of uses:
ref: https://github.com/gameolive-studio/gamelauncher-js/blob/master/.github/workflows/npm-publish.yml#L18
You can now use the new PUBLISH_ARGS
option, like this:
with:
publish_args: "--access private"
Does this help?
Unfortunately the fix is not working
I am still getting