Skip to content

Release

Release #367

Workflow file for this run

name: Release
on:
workflow_run:
workflows: [Unit tests]
types: [completed]
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Setup pnpm 🛠️
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release