Skip to content

feat: link preview thumbnail #27

feat: link preview thumbnail

feat: link preview thumbnail #27

Triggered via push June 9, 2024 18:11
Status Success
Total duration 44s
Artifacts
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
test (18.x): components/quiz/useQuizState.test.ts#L40
Argument of type '{ id: number; title: string; header: string; slugs: never[]; questions: { id: string; prompt: string; options: { id: number; label: string; }[]; correctId: number[]; answer: string; }[]; }' is not assignable to parameter of type 'Chapter'.
test (18.x): components/quiz/useQuizState.test.ts#L54
Argument of type '{ id: number; title: string; header: string; slugs: never[]; questions: { id: string; prompt: string; options: { id: number; label: string; }[]; correctId: number[]; answer: string; }[]; }' is not assignable to parameter of type 'Chapter'.
test (18.x): components/quiz/useQuizState.test.ts#L67
Argument of type '{ id: number; title: string; header: string; slugs: never[]; questions: { id: string; prompt: string; options: { id: number; label: string; }[]; correctId: number[]; answer: string; }[]; }' is not assignable to parameter of type 'Chapter'.
test (18.x): components/quiz/useQuizState.test.ts#L88
Argument of type '{ id: number; title: string; header: string; slugs: never[]; questions: { id: string; prompt: string; options: { id: number; label: string; }[]; correctId: number[]; answer: string; }[]; }' is not assignable to parameter of type 'Chapter'.
test (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (18.x): components/quiz/index.tsx#L83
React Hook useCallback has a missing dependency: 'onCheckAnswer'. Either include it or remove the dependency array
test (18.x): components/quiz/useQuizState.tsx#L61
React Hook useEffect has a missing dependency: 'randomizeQuestionOrder'. Either include it or remove the dependency array