Skip to content

task/WP-708: add unit tests and refactor getting toolbar rules into a… #2996

task/WP-708: add unit tests and refactor getting toolbar rules into a…

task/WP-708: add unit tests and refactor getting toolbar rules into a… #2996

Triggered via push November 14, 2024 22:01
Status Success
Total duration 1m 21s
Artifacts

main.yml

on: push
Server_Side_Unit_Tests
1m 13s
Server_Side_Unit_Tests
Server_Side_Linting
30s
Server_Side_Linting
Client_Side_Unit_Tests
1m 10s
Client_Side_Unit_Tests
React_NX_unit_tests
1m 8s
React_NX_unit_tests
React_NX_linting
28s
React_NX_linting
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
React_NX_linting: client/src/onboarding/layouts/OnboardingAdminLayout.tsx#L271
React Hook useEffect has missing dependencies: 'eventLogModalParams.step' and 'eventLogModalParams.user'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setEventLogModalParams' needs the current value of 'eventLogModalParams.user'
React_NX_linting: client/src/onboarding/layouts/OnboardingWebsocketHandler.tsx#L70
React Hook useEffect has a missing dependency: 'processSetupEvent'. Either include it or remove the dependency array
React_NX_linting: client/modules/datafiles/src/nees/NeesDetails.tsx#L350
Expected '!==' and instead saw '!='
React_NX_linting: client/modules/datafiles/src/projects/modals/ChangeProjectTypeModal.tsx#L133
React Hook useMemo has a missing dependency: 'showProtectedDataOptions'. Either include it or remove the dependency array
React_NX_linting: client/modules/datafiles/src/projects/modals/ProjectInfoStepper/ExperimentalSteps.tsx#L168
The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
React_NX_linting: client/modules/datafiles/src/projects/modals/ProjectInfoStepper/SimulationSteps.tsx#L167
The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
Server_Side_Linting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Server_Side_Unit_Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/