Skip to content

chore(deps-dev): bump prettier from 3.2.5 to 3.3.2 #40

chore(deps-dev): bump prettier from 3.2.5 to 3.3.2

chore(deps-dev): bump prettier from 3.2.5 to 3.3.2 #40

Triggered via pull request June 17, 2024 09:02
Status Failure
Total duration 35s
Artifacts

check-linting.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 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)
Process completed with exit code 1.
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