Skip to content

Merge pull request #21 from tidbcloud/feat/docs #28

Merge pull request #21 from tidbcloud/feat/docs

Merge pull request #21 from tidbcloud/feat/docs #28

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
registry-url: 'https://npm.pkg.github.com'
scope: '@tidbcloud'
- name: Install Dependencies
run: pnpm i
- name: Build Package
run: pnpm build
- name: Create Release Pull Request or Publish
uses: changesets/action@v1
with:
commit: 'release: bump versions'
title: 'release: bump versions'
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}