Skip to content

Update ci.yml

Update ci.yml #2

Triggered via push July 8, 2024 22:03
Status Failure
Total duration 25s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 7 warnings
build (16): src/CustomProvider.jsx#L6
'api_server' is defined but never used
build (16): src/CustomProvider.jsx#L7
'initProductsList' is defined but never used
build (16): src/components/BannerDefault.jsx#L4
'data' is missing in props validation
build (16): src/components/BannerDefault.jsx#L30
'data.isClosing' is missing in props validation
build (16): src/components/BannerDefault.jsx#L41
'data.bgImageUrl' is missing in props validation
build (16): src/components/BannerDefault.jsx#L61
'data.title' is missing in props validation
build (16): src/components/BannerDefault.jsx#L64
'data.text' is missing in props validation
build (16): src/components/BannerDefault.jsx#L76
'data.btnText' is missing in props validation
build (16): src/components/BannerDefault.jsx#L79
'data.isClosing' is missing in props validation
build (16): src/components/ButtonDefault.jsx#L1
'onClick' is missing in props validation
build (14)
The job was canceled because "_16" failed.
build (14)
The operation was canceled.
build (16)
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/
build (16)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, 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 (16): src/CustomProvider.jsx#L39
React Hook useEffect has a missing dependency: 'tgWebAppStartParam'. Either include it or remove the dependency array
build (16): src/hooks/useSlider.js#L28
React Hook useEffect has missing dependencies: 'getFakeData', 'images', and 'totalImages'. Either include them or remove the dependency array. If 'setImages' needs the current value of 'totalImages', you can also switch to useReducer instead of useState and read 'totalImages' in the reducer
build (16): src/pages/ChangeRecipient/ChangeRecipient.jsx#L33
React Hook useEffect has missing dependencies: 'myRecipient' and 'navigate'. Either include them or remove the dependency array
build (16): src/pages/Homepage/hooks/useInfiniteScroll.js#L27
React Hook useEffect has missing dependencies: 'fetchProducts' and 'products?.length'. Either include them or remove the dependency array
build (16): src/pages/Productpage/Productpage.jsx#L32
React Hook useEffect has a missing dependency: 'fetch'. Either include it or remove the dependency array