A GitHub action for automating publishing NPM packages. Supports deploying packages written in:
- JavaScript
- TypeScript
NPM access token for authenticating to npm
NPM registry. Defaults to 'registry.npmjs.org'
In your GitHub actions workflow:
name: "🚀 Release"
on:
release:
types: [published]
jobs:
release:
name: 🚀 Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Publish
uses: amalej/npm-package-publisher@v1.0.2
with:
access-token: ${{secrets.NPM_TOKEN}}