name: Release on: push: branches: - main permissions: contents: write issues: write pull-requests: write id-token: write jobs: release: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup pnpm uses: pnpm/action-setup@v4 with: version: 10.33.0 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 22.19.0 cache: pnpm registry-url: https://registry.npmjs.org - name: Install dependencies run: pnpm install --frozen-lockfile - name: Validate run: | pnpm check:ci pnpm typecheck pnpm test - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: true run: pnpm exec semantic-release