Skip to content

Release

Release #27

Workflow file for this run

# release action with semantic release
name: Release
on:
workflow_dispatch:
permissions:
contents: read
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Get Release Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v3
with:
application_id: ${{ secrets.RELEASE_APP_ID }}
application_private_key: ${{ secrets.RELEASE_APP_CERT }}
- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }}