Skip to content

Release

Release #16

Workflow file for this run

name: Release
on:
workflow_dispatch:
permissions:
contents: read # for checkout
id-token: write # to enable use of OIDC for npm provenance
packages: write # to publish a GitHub release
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.5.0
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
HUSKY_SKIP_HOOKS: 1
run: npx semantic-release