Skip to content

test: add unit tests for recommendation service #436

test: add unit tests for recommendation service

test: add unit tests for recommendation service #436

Re-run triggered July 29, 2026 08:58
Status Failure
Total duration 1m 0s
Artifacts

ci.yml

on: pull_request
Lint Frontend
20s
Lint Frontend
Lint Backend
21s
Lint Backend
Lint Admin
15s
Lint Admin
Build Frontend
32s
Build Frontend
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 13 warnings
Lint Backend
Process completed with exit code 1.
Lint Backend: backend/index.js#L6
'fileURLToPath' is defined but never used
Lint Backend: backend/index.js#L5
'path' is defined but never used
Lint Backend: backend/index.js#L4
'fs' is defined but never used
Lint Backend: backend/index.js#L3
'express' is defined but never used
Lint Admin
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint Admin: admin/src/pages/Order.jsx#L52
React Hook useEffect has a missing dependency: 'fetchAllOrders'. Either include it or remove the dependency array
Lint Admin: admin/src/pages/List.jsx#L53
React Hook useEffect has a missing dependency: 'fetchList'. Either include it or remove the dependency array
Lint Admin: admin/src/pages/Home.jsx#L60
React Hook useEffect has a missing dependency: 'fetchCounts'. Either include it or remove the dependency array
Lint Admin: admin/src/Context/NotificationContext.jsx#L118
React Hook useEffect has missing dependencies: 'fetchNotifications' and 'socket'. Either include them or remove the dependency array
Lint Admin: admin/src/Context/NotificationContext.jsx#L8
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
Lint Admin: admin/src/Context/AuthProvider.jsx#L4
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
Lint Admin: admin/src/Context/AdminProvider.jsx#L28
React Hook useEffect has a missing dependency: 'getAdmin'. Either include it or remove the dependency array
Lint Admin: admin/src/Context/AdminProvider.jsx#L6
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
Lint Frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint Frontend: frontend/src/context/ShopContext.jsx#L221
Unexpected console statement
Lint Backend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build Frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/