diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1aa6aaa..e5ede22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,6 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: - # Full history so `changeset status` can diff against the base branch. - fetch-depth: 0 persist-credentials: false # Reads the pnpm version from `packageManager` in package.json. @@ -50,8 +48,3 @@ jobs: # Biome (lint + format), then build, types, tests and bundle size via Turbo. - run: pnpm run ci - - # Fails if a package changed without a changeset. Changes that must not - # release anything (docs, CI) can add an empty one: `pnpm changeset --empty`. - - name: Check for a changeset - run: pnpm changeset status --since="origin/${{ github.base_ref }}" diff --git a/CLAUDE.md b/CLAUDE.md index dd93239..e2ba903 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,7 +9,7 @@ Run from the repo root (Turborepo fans out to every workspace): - `pnpm build` / `pnpm check-types` / `pnpm test` / `pnpm size` - `pnpm lint` / `pnpm format`: Biome check / check with `--write` - `pnpm ci`: what CI runs on every PR (`biome ci` + build, types, tests, size) -- `pnpm changeset`: add a changeset. CI fails on a PR that changes a package without one (`pnpm changeset --empty` for changes that release nothing) +- `pnpm changeset`: add a changeset. Only changes with a changeset get released - One package: `pnpm --filter @rustrak/openshowcase-