Skip to content

add statistics api request and modify for test contributions data sen… #3409

add statistics api request and modify for test contributions data sen…

add statistics api request and modify for test contributions data sen… #3409

Triggered via push April 12, 2024 13:50
Status Failure
Total duration 1m 3s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 7 warnings
typescript: src/api/statistics/statistics.get.ts#L4
Cannot find module 'types/statistics.type' or its corresponding type declarations.
typescript: src/components/Sortable.tsx#L62
'ListRoot' cannot be used as a JSX component.
typescript: src/components/WelcomeModal/FirstPhase.tsx#L388
'Map' cannot be used as a JSX component.
typescript: src/components/WorldMap/WorldMap.tsx#L171
No overload matches this call.
typescript: src/components/accueil/Accueil.tsx#L96
'WorldMap' cannot be used as a JSX component.
typescript: src/components/accueil/RightNavigation.tsx#L196
'Map' cannot be used as a JSX component.
typescript: src/components/activities/ActivityCard/MimicCard.tsx#L71
'ReactPlayer' cannot be used as a JSX component.
typescript: src/components/activities/ActivityCard/MimicCard.tsx#L74
'ReactPlayer' cannot be used as a JSX component.
typescript: src/components/activities/ActivityCard/ReportageCard.tsx#L69
'ReactPlayer' cannot be used as a JSX component.
typescript: src/components/activities/ActivityCard/ReportageCard.tsx#L72
'ReactPlayer' cannot be used as a JSX component.
lint: server/controllers/activity.ts#L7
`../../types/activity.type` import should occur before import of `../../types/anthem.type`
lint: server/controllers/activity.ts#L8
`../../types/activity.type` import should occur before import of `../../types/anthem.type`
lint: server/controllers/activity.ts#L371
Delete `··`
lint: src/api/statistics/statistics.get.ts#L3
There should be at least one empty line between import groups
lint: src/api/statistics/statistics.get.ts#L4
`types/statistics.type` import should occur before import of `src/utils/axiosRequest`
lint: src/pages/admin/newportal/analyze/index.tsx#L1
There should be at least one empty line between import groups
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/statistics.ts#L11
'activityRepository' is assigned a value but never used