Skip to content

filtre admin ok

filtre admin ok #3598

Triggered via push June 6, 2024 09:04
Status Failure
Total duration 1m 1s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 9 warnings
typescript: src/components/admin/mediatheque/CardMediatheque.tsx#L21
Property 'content' does not exist on type 'never'.
typescript: src/components/admin/mediatheque/CardMediatheque.tsx#L24
Property 'id' does not exist on type 'never'.
typescript: src/components/admin/mediatheque/CardMediatheque.tsx#L27
Property 'type' does not exist on type 'never'.
typescript: src/components/admin/mediatheque/CardMediatheque.tsx#L27
Property 'subType' does not exist on type 'never'.
typescript: src/components/admin/mediatheque/CardMediatheque.tsx#L30
Property 'userId' does not exist on type 'never'.
typescript: src/components/admin/mediatheque/CardMediatheque.tsx#L30
Property 'villageId' does not exist on type 'never'.
typescript: src/components/admin/mediatheque/ModalFilter.tsx#L33
Property 'setOffset' does not exist on type 'MediathequeContextType'.
typescript: src/contexts/mediathequeContext.tsx#L37
'dataToDisplay' is declared but its value is never read.
typescript: src/contexts/mediathequeContext.tsx#L37
'setDataToDisplay' is declared but its value is never read.
typescript: src/contexts/mediathequeContext.tsx#L67
Property 'game' does not exist on type 'object'.
lint: src/components/admin/mediatheque/CheckboxAdmin.tsx#L13
Unexpected console statement
lint: src/components/admin/mediatheque/CheckboxAdmin.tsx#L16
Unexpected console statement
lint: src/components/admin/mediatheque/CheckboxAdmin.tsx#L20
Unexpected console statement
lint: src/contexts/mediathequeContext.tsx#L29
Unexpected console statement
lint: src/contexts/mediathequeContext.tsx#L34
Unexpected console statement
lint: src/contexts/mediathequeContext.tsx#L35
Unexpected console statement
lint: src/contexts/mediathequeContext.tsx#L47
Unexpected console statement
lint: src/contexts/mediathequeContext.tsx#L89
Unexpected console statement
lint: src/contexts/mediathequeContext.tsx#L89
Replace `"Les·datas·filtrées·========·",·dataFiltered)` with `'Les·datas·filtrées·========·',·dataFiltered);`
lint
Process completed with exit code 1.
unit-test
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/.
unit-test
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/
typescript
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/.
typescript
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/
lint
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/.
lint
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/
lint: server/controllers/mediatheque.ts#L2
'map' is defined but never used
lint: src/contexts/mediathequeContext.tsx#L37
'dataToDisplay' is assigned a value but never used
lint: src/contexts/mediathequeContext.tsx#L37
'setDataToDisplay' is assigned a value but never used