Skip to content

Semantic Release

Semantic Release #22

Workflow file for this run

name: Semantic Release
on:
workflow_run:
workflows: ["Test"]
branches:
- master
- beta
types:
- completed
jobs:
release:
# check Test success
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v5
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci --omit=optional
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.EE_BOT_TOKEN }}