Skip to content

[ci] release (#1995) #433

[ci] release (#1995)

[ci] release (#1995) #433

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
changelog:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'openapi-ts' }}
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: pnpm/action-setup@v4
with:
version: latest
run_install: true
- run: pnpm run build
- uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm exec changeset publish
commit: "[ci] release"
title: "[ci] release"
env:
GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}