Skip to content
Triggered via pull request June 5, 2024 21:28
Status Failure
Total duration 1m 33s
Artifacts

build_and_test.yml

on: pull_request

Annotations

6 errors and 9 warnings
lint: app/components/ui/Footer/Footer.tsx#L2
`./FooterColumn` import should occur after import of `assets/img/dcyf-white.png`
lint: app/components/ui/Footer/Footer.tsx#L47
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<FooterData | null>`
lint: app/components/ui/Footer/FooterColumn.tsx#L15
Do not use Array index in keys
lint: app/components/ui/Footer/FooterLink.tsx#L3
`react-router-dom` import should occur before import of `./Footer`
lint: app/components/ui/Footer/FooterLink.tsx#L16
Unnecessary 'else' after 'return'
lint
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: app/components/ui/Footer/Footer.tsx#L71
Dangerous property 'dangerouslySetInnerHTML' found
lint: app/pages/EditBreakingNewsPage.tsx#L115
Unexpected alert
lint: app/pages/EditBreakingNewsPage.tsx#L118
Unexpected alert
lint: app/pages/EditBreakingNewsPage.tsx#L123
Unexpected confirm
lint: webpack.config.js#L16
Unexpected console statement
build_and_test_app
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_and_test_app
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/