Skip to content

v0.7.11

v0.7.11 #19

name: Publish package to NPM
on:
release:
types: [published]
jobs:
publish-package-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: https://registry.npmjs.org/
- uses: jaywcjlove/github-action-package@main
with:
version: ${{ github.ref_name }}
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}