Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/babbel/publish-npm

Publishes JavaScript npm package to GitHub Packages
https://github.com/babbel/publish-npm

actions

Last synced: 15 days ago
JSON representation

Publishes JavaScript npm package to GitHub Packages

Awesome Lists containing this project

README

        

# GitHub Action `babbel/publish-npm`

Publishes JavaScript npm package to GitHub Packages.

## Usage

```
steps:
- uses: babbel/publish-npm
```

You can also specify a `tag` input to register the published package with, such that `npm install @` 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
```