Skip to content

add changesets and release workflow #96

add changesets and release workflow

add changesets and release workflow #96

Workflow file for this run

name: CI
on:
pull_request:
branches: ["*"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Type check
run: bun run type-check
- name: Lint
run: bun run lint
- name: Build
run: bun run build
- name: Check for changeset
run: |
if git diff --name-only origin/main...HEAD | grep -q "^\.changeset/.*\.md$"; then
echo "✓ Changeset found"
else
echo "⚠ No changeset found. If this PR has user-facing changes, run 'bun changeset' to add one."
fi