Skip to content

fix: resolve TS build errors and add frontend CI pre-check - #10

Merged
mesrikanthreddy merged 3 commits into
devfrom
feat/landing-page-theme-gh-pages
Jul 14, 2026
Merged

fix: resolve TS build errors and add frontend CI pre-check#10
mesrikanthreddy merged 3 commits into
devfrom
feat/landing-page-theme-gh-pages

Conversation

@mesrikanthreddy

Copy link
Copy Markdown
Collaborator

Summary

  • Remove unused import React from Badge.tsx, Icons.tsx, and StatusDot.tsx — these caused tsc -b to fail in the Pages deploy workflow
  • Add ci-frontend.yml — runs type check and production build on every push to dev and on PRs targeting dev or master, so build failures are caught before they reach master

Why this failed

React 17+ JSX transform doesn't require the React import. With noUnusedLocals enabled in tsconfig, the stale imports are treated as errors at build time.

@mesrikanthreddy
mesrikanthreddy merged commit 13c4033 into dev Jul 14, 2026
5 checks passed
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