-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support NPM option for release workflow & allow publishing to private GitHub repos. #134
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing in progress... |
…ccess when publishToGithubPackages is true
…not follow the fork
…GitHub, hardcoding main as before
What a mess. GitHub doesn't support dynamic values for |
…github tag to work with and bail if we don't
…eed if we don't have a github tag
The fork's main branch is much cleaner and has many new features but still would take some work to bring anything back. Closing for now. Happy to help with it if there is anything anyone wants to see come back to salesforcecli. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Support npm and GitHub Packages Publishing
This PR adds support for npm as an alternative to yarn in our GitHub workflows and adds the ability to publish to GitHub Packages.
Changes
1. Support npm for oclif readme generation
package-manager
input parameter tocreate-github-release.yml
workflowgenerateOclifReadme
action to support both npm and yarn2. Add GitHub Packages publishing support
npmPublish.yml
:publishToGithubPackages
: Boolean to toggle between npm and GitHub Packagesscope
: Required when publishing to GitHub Packages (e.g., @organization)SVC_CLI_BOT_GITHUB_TOKEN
for GitHub Packages authenticationUsage Examples
Publishing to npm (existing behavior)
Publishing to GitHub Packages
Using npm for readme generation
Testing
Notes
publishToGithubPackages
parameter.