Skip to content

A GitHub action for automating publishing NPM packages

Notifications You must be signed in to change notification settings

amalej/npm-package-publisher

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NPM Package Publisher

A GitHub action for automating publishing NPM packages. Supports deploying packages written in:

  • JavaScript
  • TypeScript

Inputs

access-token

NPM access token for authenticating to npm

registry

NPM registry. Defaults to 'registry.npmjs.org'

How to use

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}}

About

A GitHub action for automating publishing NPM packages

Resources

Stars

Watchers

Forks

Packages

No packages published