Skip to content

ci: add a CI workflow, and stop biome 2.5 flagging Tailwind at-rules - #23

Merged
hemv-857 merged 1 commit into
mainfrom
ci/add-ci-workflow
Oct 12, 2026
Merged

hemv-857 merged 1 commit into
mainfrom
ci/add-ci-workflow

Conversation

@hemv-857

Copy link
Copy Markdown
Owner

Two problems

1. No CI at all. Nothing gated merges on this repo.

2. biome.json is out of step with the installed biome. @biomejs/biome is declared ^2.4.7, so npm ci resolves 2.5.4, which added lint/suspicious/noUnknownAtRules to recommended. That rule does not know Tailwind v3 @tailwind at-rules, so src/styles/tailwind.css produces 3 errors and npm run lint exits non-zero.

Same unpinned-tooling pattern that turned three sibling repos red on ruff 0.17.0.

Fix

  • noUnknownAtRules: "off" in the suspicious block, consistent with how this config already handles 30+ rules
  • New CI workflow: npm ci → npm run lint → npm run typecheck → npm run test:data

The unit suite is 96% green and I did not gate on it

npm run test:data reports 9710 pass / 393 fail / 6 skipped out of 10109. Those 393 were already failing — this repo had no CI, so nothing ever surfaced them, and this change does not touch application code.

Rather than add a red gate or quietly omit the suite, the test step runs with continue-on-error: true. It stays visible and the number should only go down. Flip it to blocking once fail == 0.

Verified locally

Step Result
npm run lint pass (3 errors → 0)
npm run typecheck pass
npm run test:data 9710 pass / 393 fail (pre-existing)

Two problems.

1. No CI at all. Nothing gated merges on this repo.

2. biome.json is already out of step with the installed biome. @biomejs/biome is
   declared ^2.4.7, so npm ci resolves 2.5.4, which added
   lint/suspicious/noUnknownAtRules to recommended. That rule does not know
   Tailwind v3's @tailwind at-rules, so src/styles/tailwind.css produces 3
   errors and npm run lint exits non-zero.

Same unpinned-tooling pattern that turned three sibling repos red on ruff 0.17.0.

Fix:
- noUnknownAtRules: "off" in the suspicious block, consistent with how this
  config already handles 30+ rules
- New CI workflow: npm ci -> lint -> typecheck -> test:data

The unit suite is 96 percent green and is deliberately not gated:
test:data reports 9710 pass / 393 fail / 6 skipped of 10109. Those 393 were
already failing; this repo had no CI so nothing surfaced them, and this change
does not touch application code. The step runs with continue-on-error: true so
the debt stays visible. Flip it to blocking once fail == 0.

Verified locally: lint pass (3 errors -> 0), typecheck pass.
Copilot AI balanced review requested due to automatic review settings October 12, 2026 17:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@hemv-857
hemv-857 merged commit a718a72 into main Oct 12, 2026
1 check passed
@hemv-857
hemv-857 deleted the ci/add-ci-workflow branch October 12, 2026 17:32
hemv-857 added a commit that referenced this pull request Oct 12, 2026
…visories) (#24)

Runs `npm audit fix` with no --force, so only non-breaking resolutions moved.
package-lock.json is the only file that changed; package.json ranges are untouched.

Root npm audit: 40 -> 34 (1 critical, 19 high, 11 moderate, 3 low).

Verified: lint pass, typecheck pass, test:data 9710 pass / 393 fail / 6 skipped of
10109 - identical to before the bump, so nothing regressed.

The 393 failures are pre-existing and unrelated; see #23.

Co-authored-by: Hemang Varshney <hemv-857@users.noreply.github.com>
@vercel

vercel Bot commented Oct 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
orion-eight-render Ready Ready Preview Oct 12, 2026 6:09pm UTC

This branch was successfully deployed

1 active deployment
Preview — 4865d324 Deployed Oct 12, 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.

2 participants