Skip to content

Semantic Release

Semantic Release #24

name: Semantic Release
on:
workflow_run:
workflows:
- Test
branches:
- main
types:
- completed
jobs:
semantic_release:
name: Semantic Release
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: '20'
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx -p semantic-release semantic-release