A GitHub Action for publishing NPM packages.
To use the GitHub Action, add the following to your job:
- uses: conventional-actions/npm-publish@v1
Name | Default | Description |
---|---|---|
access |
N/A | when publishing scoped packages, the access level defaults to restricted . If you want your scoped package to be publicly viewable (and installable) set public |
tag |
latest |
tag of the version |
No outputs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: gorevive
uses: conventional-actions/npm-publish@v1
The scripts and documentation in this project are released under the MIT License.