Skip to content

bevry-actions/npm

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

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bevry-actions/npm

Once your tests succeed, use this action to deploy to npm for each new git release, as well as optionally for each new git commit to specific branches, to an npm tag.

Example

For instance, for the ambi project, you can get Deno compile target for the latest stable release via:

https://unpkg.com/ambi/edition-deno/index.ts

Or for the latest commit via:

https://unpkg.com/ambi@next/edition-deno/index.ts

Install

And add the following to your GitHub Action workflow after your tests have completed and you have built your compile targets/documentation.

- name: publish to npm
  uses: bevry-actions/npm@main
  with:
      npmAuthToken: ${{secrets.NPM_AUTH_TOKEN}}
      npmBranchTag: "master:next" # optional

License

Public Domain via The Unlicense