Skip to content

ci: run CI on master, and build packages before type-check - #14

Merged
bvallier merged 1 commit into
masterfrom
claude/sales-frequency-strategy-tco8pw
Sep 1, 2026
Merged

bvallier merged 1 commit into
masterfrom
claude/sales-frequency-strategy-tco8pw

Conversation

@bvallier

@bvallier bvallier commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Found while merging #13: both CI triggers in ci.yml point at a main branch that doesn't exist — the default branch is master — so the CI workflow has never run once. Every PR to date (including #13) merged with zero checks, which is why they all show as instantly mergeable.

Changes

  • ci.yml triggers: branches: [main] → branches: [master] for both push and pull_request
  • Added a pnpm build step before Type check in the lint job — flipping the branch alone would have turned CI red immediately, because pnpm type-check fails on a fresh checkout (workspace packages resolve each other's types from built dist output, e.g. tinypivot-server imports @smallwebco/tinypivot-core)

deploy.yml also watches main but is deliberately untouched: it targets GitHub Pages, which isn't enabled for this repo (the site deploys via Vercel), so pointing it at master would only add a failing workflow. It's likely deletable.

Verification

Ran the CI jobs' exact steps locally in order: pnpm lint, pnpm build, pnpm type-check, pnpm test:unit — all green (241/241 tests). This PR itself should be the first to show a real CI run.


Generated by Claude Code

Both CI triggers pointed at a `main` branch that doesn't exist — the
repo's default branch is `master` — so the CI workflow has never run
once: every PR to date merged with zero checks.

Fixing the branch name alone would turn CI red immediately, because
`pnpm type-check` fails on a fresh checkout: workspace packages resolve
each other's types from built dist output (e.g. tinypivot-server imports
@smallwebco/tinypivot-core). Add a build step before type-check in the
lint job.

Verified locally in CI order: pnpm lint, pnpm build, pnpm type-check,
pnpm test:unit — all green (241/241 tests).

deploy.yml also watches `main` but is left untouched: it targets GitHub
Pages, which is not enabled for this repo (the site deploys via Vercel),
so pointing it at master would only add a failing workflow.
@vercel

vercel Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tiny-pivot Ready Ready Preview Sep 1, 2026 11:21am UTC

Request Review

@bvallier
bvallier merged commit 0bfa2f9 into master Sep 1, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 042df2bc Deployed Sep 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant