Skip to content

Add a display of isRegularExcavation and date #4958

Add a display of isRegularExcavation and date

Add a display of isRegularExcavation and date #4958

Triggered via pull request November 14, 2024 14:37
Status Failure
Total duration 8m 42s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 12 warnings
test
The process '/usr/local/bin/yarn' failed with exit code 1
test
🚨 Coverage run failed!
test: src/fragmentarium/domain/archaeology.test.ts#L1
Argument of type '(_info: string, overrideParams: { area: string; room: string; context: string; primaryContext: boolean; notes: string; } | { primaryContext: boolean; context: string; date: null; } | { area: string; notes: string; } | ... 6 more ... | { ...; }, expected: string, locale: string | undefined) => void' is not assignable to parameter of type '(...args: [string, { area: string; room: string; context: string; primaryContext: boolean; notes: string; }, string] | [string, { primaryContext: boolean; context: string; date: null; }, string] | ... 7 more ... | [...]) => any'.
test: src/fragmentarium/domain/archaeology.test.ts#L1
Expected 0 arguments, but got 1.
test
Process completed with exit code 2.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1, paambaati/codeclimate-action@v2.7.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1, paambaati/codeclimate-action@v2.7.4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test: src/about/ui/about.test.tsx#L12
Unexpected any. Specify a different type
test: src/auth/react-auth0-spa.tsx#L76
React Hook useEffect has missing dependencies: 'initOptions', 'onRedirectCallback', and 'returnTo'. Either include them or remove the dependency array. If 'onRedirectCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
test: src/bibliography/domain/BibliographyEntry.ts#L23
Unexpected any. Specify a different type
test: src/common/HtmlParsing.tsx#L3
Argument 'inputElements' should be typed with a non-any type
test: src/common/HtmlParsing.tsx#L3
Unexpected any. Specify a different type
test: src/common/List.tsx#L34
'value' is missing in props validation
test: src/common/List.tsx#L35
'children' is missing in props validation
test: src/common/List.tsx#L36
'onChange' is missing in props validation
test: src/common/List.tsx#L37
'defaultValue' is missing in props validation
test: src/common/List.tsx#L71
'value.map' is missing in props validation