You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
bevry-actions/npm
v1.0.0
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.
For instance, for the ambi project, you can get Deno compile target for the latest stable release via:
Or for the latest commit via:
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
Public Domain via The Unlicense