Skip to content

Release

Release #1283

Workflow file for this run

name: Release
on:
pull_request:
merge_group:
push:
branches: [ main ]
permissions: read-all
jobs:
release:
name: Release
runs-on: ubuntu-24.04
steps:
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
id: release-token
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
permission-contents: write # to be able to publish a GitHub release
permission-issues: write # to be able to comment on released issues
permission-pull-requests: write # to be able to comment on released pull requests
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ steps.release-token.outputs.token }}
fetch-depth: 0
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm install --frozen-lockfile
- run: pnpm run release
env:
GH_TOKEN: ${{ steps.release-token.outputs.token }}