Skip to content

Feat/cmr support

Feat/cmr support #1111

Triggered via pull request January 2, 2024 21:22
Status Failure
Total duration 1m 6s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 14 warnings
ts-check: app/scripts/components/common/mapbox/index.tsx#L417
Type '{ id: string; stacApiEndpoint: string | undefined; tileApiEndpoint: string | undefined; assetUrlReplacements: string[][] | undefined; stacCol: string; mapInstance: Map; isPositionSet: boolean; ... 5 more ...; isHidden: boolean | undefined; }' is not assignable to type 'IntrinsicAttributes & (MapLayerRasterTimeseriesProps | MapLayerVectorTimeseriesProps | MapLayerZarrTimeseriesProps)'.
ts-check: app/scripts/components/common/mapbox/layers/zarr-timeseries.tsx#L51
Cannot find name 'ReplacementTuples'.
ts-check: app/scripts/components/common/mapbox/layers/zarr-timeseries.tsx#L83
Argument of type '[string, string][] | undefined' is not assignable to parameter of type 'ReplacementTuples[]'.
ts-check
Process completed with exit code 2.
lint: app/scripts/components/common/map/style-generators/zarr-timeseries.tsx#L19
'assetUrlReplacements' PropType is defined but prop is never used
lint
Process completed with exit code 1.
prep
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ts-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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/scripts/components/analysis/define/aoi-selector.tsx#L98
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/define/aoi-selector.tsx#L117
React Hook useEffect has a missing dependency: 'mapRef'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/define/index.tsx#L295
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint: app/scripts/components/analysis/define/index.tsx#L336
React Hook useEffect has a missing dependency: 'datasetsLayers'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/define/use-custom-aoi.ts#L129
Unnecessary conditional, value is always falsy
lint: app/scripts/components/analysis/page-hero-media.tsx#L143
React Hook useEffect has a missing dependency: 'theme.color'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/page-hero-media.tsx#L159
Unexpected any. Specify a different type
lint: app/scripts/components/analysis/results/analysis-metrics-dropdown.tsx#L76
Unexpected any. Specify a different type
lint: app/scripts/components/analysis/results/concurrency.ts#L8
The use of method `shift` is not allowed as it might be a mutating method
lint: app/scripts/components/analysis/results/concurrency.ts#L28
The use of method `push` is not allowed as it might be a mutating method
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/