Skip to content

Publishing

Publishing #93

Workflow file for this run

name: Publishing
on:
release:
types: [published]
jobs:
publish:
if: ${{ !github.event.release.draft }}
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.release.target_commitish }}
- run: git fetch --force --tags
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run publish-please-only
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}