Skip to content

Release

Release #3

Workflow file for this run

name: Release
on:
workflow_dispatch:
# Make sure to add .releaserc and select the right branch
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install semantic-release
run: |
npm install --no-save semantic-release conventional-changelog-conventionalcommits
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_ACTOR: ${{ github.actor }}
run: |
npx semantic-release