Skip to content

Release

Release #75

Workflow file for this run

on:
pull_request:
branches:
- main
types:
- closed
workflow_run:
workflows: [Bump Patch Version]
types:
- completed
jobs:
publish:
if: |
github.event_name == 'pull_request' && github.event.pull_request.merged == true ||
github.event_name == 'workflow_run'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm ci
- run: npm run build
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}