Publishes JavaScript npm package to GitHub Packages.
steps:
- uses: babbel/publish-npm
You can also specify a tag input to register the published package with, such that npm install <name>@<tag> will install this version
steps:
- uses: babbel/publish-npm
with:
tag: beta
If the package.json is not in the current directory, you can override the working directory:
steps:
- uses: babbel/publish-npm
with:
working-directory: packages/packagename