Skip to content

Manage cart product #205

Manage cart product

Manage cart product #205

Triggered via pull request July 13, 2024 11:32
Status Failure
Total duration 1m 49s
Artifacts

main.yml

on: pull_request
Matrix: Test
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Build (20): src/components/cart/Cart.tsx#L14
Property 'cartProducts' does not exist on type 'Cart[]'.
Build (20): src/components/cart/Cart.tsx#L14
Parameter 'total' implicitly has an 'any' type.
Build (20): src/components/cart/Cart.tsx#L14
Parameter 'cart' implicitly has an 'any' type.
Build (20): src/components/cart/Cart.tsx#L24
Property 'cartProducts' does not exist on type 'Cart[]'.
Build (20): src/components/cart/Cart.tsx#L34
Property 'cartProducts' does not exist on type 'Cart[]'.
Build (20): src/components/cart/Cart.tsx#L34
Parameter 'cart' implicitly has an 'any' type.
Build (20): src/components/cart/Cart.tsx#L34
Parameter 'index' implicitly has an 'any' type.
Build (20): src/components/cart/CartItem.tsx#L13
Object is possibly 'undefined'.
Build (20): src/components/cart/CartItem.tsx#L13
Tuple type '[]' of length '0' has no element at index '0'.
Build (20): src/components/cart/CartItem.tsx#L15
'addProductToWishlist' is declared but its value is never read.
Test (20)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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 (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build (20)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
Build (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/