Skip to content

Merge pull request #68 from tidbcloud/chore/update-playground-link #74

Merge pull request #68 from tidbcloud/chore/update-playground-link

Merge pull request #68 from tidbcloud/chore/update-playground-link #74

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
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'
- name: Install Dependencies
run: pnpm i
- name: Build Package
run: pnpm build
- name: Test
run: pnpm test
- 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 }}
NPM_TOKEN: ${{ secrets.NPM_REG_PUBLISH_TOKEN }}