Skip to content

Release

Release #5

Workflow file for this run

name: Release
on: workflow_dispatch
permissions:
contents: read
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: "9.0.0"
- name: Install dependencies
run: pnpm install
- name: Verify dependencies integrity
run: pnpm audit
- name: Git config
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Release
run: npx release-it --verbose --ci
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}