Yarn Package Publish
ActionsWill automatically publish unpublished package versions to the given registry
v0.1.1
LatestPre-releaseBy luvies
Tags
(1)A Github action that will automatically publish a package to the registry if the version in the package.json is not already published. It can optionally push a tag to git, marking the commit the publish used.
See action.yml for more details.
For a working example on how to set this action up, see my @luvies/evaluator package workflow.
This action will need a number of environment variables depending on what is being done:
NODE_AUTH_TOKEN
- Always needed
- Used to authenticate the publish to the registry
- Make sure 2fa is disabled for publishes to the registry
GITHUB_TOKEN
- Only needed if git tagging is enabled
- Can be given using the following
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Yarn Package Publish is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.