Skip to content

Chore: add CI workflow for lint, test, build #8

Chore: add CI workflow for lint, test, build

Chore: add CI workflow for lint, test, build #8

Triggered via pull request October 5, 2026 11:17
Status Failure
Total duration 42s
Artifacts –

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/tests/hooks.test.tsx > sighting hooks > looks up an existing sighting and returns undefined for an unknown id: frontend/src/hooks/use-sightings.ts#L5
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem. ❯ Object.throwInvalidHookError ../node_modules/react-dom/cjs/react-dom-client.development.js:7965:13 ❯ process.env.NODE_ENV.exports.useSyncExternalStore ../node_modules/react/cjs/react.development.js:1316:34 ❯ useSightings src/hooks/use-sightings.ts:5:10 ❯ useSighting src/hooks/use-sighting.ts:9:21 ❯ src/tests/hooks.test.tsx:28:12
checks
Process completed with exit code 1.