Skip to content

kktjs/npm-publish

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

Repository files navigation

NPM Publish

Use JS-DevTools/npm-publish for package publishing.

New features:

Upload all packages in the folder to the npm repository.

Input Parameters

Name required Type Description
workspaces No string|string[] Folder Matching Rules Reference
package No string The path to the package.json file

Other input parameter

Warning

Parameter configuration weight:package > workspaces

Actions Example

Use workspaces input

workspaces 目录下所有的包文件夹全部进行发布

- name: 📦  publish to NPM
  uses: kktjs/npm-publish@main
  with:
    token: ${{ secrets.NPM_TOKEN }}
    workspaces: packages/*

Multiple workspaces

- name: 📦  publish to NPM
  uses: kktjs/npm-publish@main
  with:
    token: ${{ secrets.NPM_TOKEN }}
    workspaces: |
      packages/*
      packa/*
      pack
      !packb
      !pack/a

Use package input

- name: 📦 publish to NPM
  uses: kktjs/npm-publish@main
  with:
    token: ${{ secrets.NPM_TOKEN }}
    package: ./package.json

Contributors

As always, thanks to our amazing contributors!

Made with github-action.

License

Licensed under the MIT License.

Packages

No packages published

Languages

  • TypeScript 97.8%
  • JavaScript 2.2%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy