Skip to content

Fix build error in search.test.ts and add CI workflow#9

Merged
fayekelmith merged 1 commit into
mainfrom
fix/build-fix-and-ci
May 24, 2026
Merged

Fix build error in search.test.ts and add CI workflow#9
fayekelmith merged 1 commit into
mainfrom
fix/build-fix-and-ci

Conversation

@fayekelmith
Copy link
Copy Markdown
Collaborator

Changes

  • Fix TS2783 build error in packages/react/src/hooks/__tests__/search.test.ts — removed duplicate id: overrides.id line from the node() helper (the ...overrides spread already covers it, causing a "specified more than once" error under tsc)
  • Add test script to root package.jsonnpm test now runs vitest run in packages/react
  • Add .github/workflows/ci.yml — simple two-job CI pipeline:
    • build — runs npm ci + npm run build on every non-main push and PR
    • test — runs after build passes, executes npm test (214 tests across 12 test files)

@fayekelmith fayekelmith merged commit 445002b into main May 24, 2026
4 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