Skip to content

clean yarn

clean yarn #4196

Triggered via push December 17, 2024 13:36
Status Failure
Total duration 58s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 13 warnings
unit-test
Process completed with exit code 1.
typescript: src/api/statistics/statistics.get.ts#L37
Expected 1 arguments, but got 0.
typescript: src/components/accueil/Accueil.tsx#L135
Cannot find name 'Button'.
typescript: src/components/accueil/Accueil.tsx#L143
Cannot find name 'Button'.
typescript: src/components/activities/ActivityCard/activity-admin/AllActivitiesAdmin.tsx#L1
Duplicate identifier 'SelectChangeEvent'.
typescript: src/components/activities/ActivityCard/activity-admin/AllActivitiesAdmin.tsx#L1
Duplicate identifier 'SelectChangeEvent'.
typescript: src/components/activities/List.tsx#L4
'useState' is declared but its value is never read.
typescript: src/components/admin/dashboard-statistics/CountryStats.tsx#L69
Property 'data' is missing in type '{}' but required in type 'DashboardTableProps'.
typescript: src/components/admin/dashboard-statistics/VillageStats.tsx#L129
Property 'data' is missing in type '{}' but required in type 'DashboardTableProps'.
lint: src/components/Avatar.tsx#L2
There should be at least one empty line between import groups
lint: src/components/Avatar.tsx#L3
`next/link` import should occur before import of `@mui/icons-material/Person`
lint: src/components/Avatar.tsx#L4
`react` import should occur before import of `@mui/icons-material/Person`
lint: src/components/Base.tsx#L1
There should be at least one empty line between import groups
lint: src/components/Base.tsx#L2
`react` import should occur before import of `@mui/material`
lint: src/components/FinalStep/ImageStepContainer.tsx#L1
There should be at least one empty line between import groups
lint: src/components/FinalStep/ImageStepContainer.tsx#L1
`@mui/material` import should occur after import of `react`
lint: src/components/H5pOLD.tsx#L1
There should be at least one empty line between import groups
lint: src/components/H5pOLD.tsx#L2
`react` import should occur before import of `@mui/material/CircularProgress`
lint: src/components/Header.tsx#L5
There should be at least one empty line between import groups
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typescript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: server/stats/classroomStats.ts#L81
Unexpected any. Specify a different type
lint: server/stats/classroomStats.ts#L84
Unexpected any. Specify a different type
lint: server/stats/classroomStats.ts#L85
Unexpected any. Specify a different type
lint: server/stats/classroomStats.ts#L101
Unexpected any. Specify a different type
lint: src/components/activities/List.tsx#L4
'useState' is defined but never used
lint: src/components/admin/dashboard-statistics/charts/DashboardTable.tsx#L16
'rows' is assigned a value but never used
lint: src/components/admin/dashboard-statistics/charts/DashboardTable.tsx#L26
'FamiliesWithoutAccountHeaders' is assigned a value but never used
lint: src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L5
'sumAllData' is defined but never used
lint: src/pages/inscription.tsx#L5
'useRef' is defined but never used
lint: src/pages/mes-videos.tsx#L1
'VisibilityIcon' is defined but never used