Skip to content

Release

Release #24

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
draft-release:
type: boolean
default: false
description: Whether to publish the release as a draft.
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
concurrency:
group: release
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
- uses: glzr-io/actions/semantic-release@main
with:
gh-publish: true
gh-draft-release: ${{ inputs.draft-release }}
gh-token: ${{ github.token }}
npm-publish: true
npm-token: ${{ secrets.NPM_TOKEN }}