Skip to content

chore(lib): update dependency rollup to v4 [security] #5547

chore(lib): update dependency rollup to v4 [security]

chore(lib): update dependency rollup to v4 [security] #5547

Triggered via pull request November 18, 2024 17:43
Status Failure
Total duration 13m 45s
Artifacts

deploy-custom-env.yml

on: pull_request
prepare
8s
prepare
Matrix: build
run_tests_api  /  test
27s
run_tests_api / test
run_tests_front  /  test
2m 4s
run_tests_front / test
run_tests_lib  /  test
50s
run_tests_lib / test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 43 warnings
deploy
Process completed with exit code 1.
build (admin, admin, 826dd0077)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run_tests_lib / test: packages/lib/src/common.ts#L144
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/common.ts#L145
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/common.ts#L148
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/common.ts#L148
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/dto/classeDto.ts#L8
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/dto/classeDto.ts#L10
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/dto/classeDto.ts#L31
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/dto/classeDto.ts#L33
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/dto/classeDto.ts#L36
Unexpected any. Specify a different type
run_tests_lib / test: packages/lib/src/dto/cohortDto.ts#L65
Unexpected any. Specify a different type
run_tests_lib / test: packages/ds/src/common/inputs/Combobox.tsx#L5
'HiCheck' is defined but never used
run_tests_lib / test: packages/ds/src/dsfr/layout/Section.tsx#L1
Replace `'react'` with `"react";`
build (api, api, 826dd0077)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@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 (app, app, 826dd0077)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run_tests_front / test: app/src/app.jsx#L80
React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array
run_tests_front / test: app/src/assets/icons/ArrowRightBlueSquare.jsx#L4
'props' is defined but never used
run_tests_front / test: app/src/components/Content.jsx#L35
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
run_tests_front / test: app/src/components/Content.jsx#L64
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
run_tests_front / test: app/src/components/Content.jsx#L181
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
run_tests_front / test: app/src/components/Content.jsx#L230
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
run_tests_front / test: app/src/components/Content.jsx#L250
Replace `·rgba(0,·0,·0,·0.1)·0px·10px·15px·-3px,` with `⏎····rgba(0,·0,·0,·0.1)·0px·10px·15px·-3px,⏎···`
run_tests_front / test: app/src/components/FileUpload.jsx#L106
React Hook useCallback has an unnecessary dependency: 'files'. Either exclude it or remove the dependency array
run_tests_front / test: app/src/components/dndFileInput.jsx#L75
React Hook useEffect has missing dependencies: 'filesList', 'handleChange', and 'name'. Either include them or remove the dependency array
run_tests_front / test: app/src/components/dndFileInput.jsx#L99
React Hook useEffect has a missing dependency: 'setNewFilesList'. Either include it or remove the dependency array. If 'setNewFilesList' changes too often, find the parent component that defines it and wrap that definition in useCallback
run_tests_front / test: admin/src/app.jsx#L70
Unexpected use of file extension "service" for "./services/cohort.service"
run_tests_front / test: admin/src/app.jsx#L163
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
run_tests_front / test: admin/src/app.jsx#L206
React Hook useEffect has missing dependencies: 'cohorts' and 'dispatch'. Either include them or remove the dependency array
run_tests_front / test: admin/src/assets/ArrowUp.jsx#L3
'props' is defined but never used
run_tests_front / test: admin/src/assets/icons/EmptyFileIcon.jsx#L3
'props' is defined but never used
run_tests_front / test: admin/src/components/FileUpload.jsx#L104
React Hook useCallback has an unnecessary dependency: 'files'. Either exclude it or remove the dependency array
run_tests_front / test: admin/src/components/IconDomain.jsx#L50
React Hook React.useEffect has a missing dependency: 'iconStyle'. Either include it or remove the dependency array. If 'setIcon' needs the current value of 'iconStyle', you can also switch to useReducer instead of useState and read 'iconStyle' in the reducer
run_tests_front / test: admin/src/components/IconDomainRounded.jsx#L50
React Hook React.useEffect has a missing dependency: 'iconStyle'. Either include it or remove the dependency array. If 'setIcon' needs the current value of 'iconStyle', you can also switch to useReducer instead of useState and read 'iconStyle' in the reducer
run_tests_front / test: admin/src/components/Panel.jsx#L23
React Hook "React.useState" is called conditionally. React Hooks must be called in the exact same order in every component render
run_tests_front / test: admin/src/components/Panel.jsx#L25
React Hook "React.useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?