Deprecate old explore page, Mapbox component #1947
Triggered via pull request
September 26, 2024 16:45
Status
Failure
Total duration
1m 29s
Artifacts
–
Annotations
7 errors and 18 warnings
ts-check:
app/scripts/components/common/item-truncate-count.tsx#L20
Property 'last' does not exist on type 'ReactNode[]'.
|
ts-check:
app/scripts/components/exploration/atoms/hooks.ts#L57
Property 'last' does not exist on type 'Date[]'.
|
ts-check:
app/scripts/components/exploration/components/timeline/timeline.tsx#L510
Property 'last' does not exist on type 'Date[]'.
|
ts-check:
app/scripts/components/exploration/data-utils.ts#L97
Property 'last' does not exist on type 'string[]'.
|
ts-check:
app/scripts/components/exploration/data-utils.ts#L102
Property 'last' does not exist on type 'string[]'.
|
ts-check:
app/scripts/components/exploration/data-utils.ts#L107
Property 'last' does not exist on type 'string[]'.
|
ts-check
Process completed with exit code 2.
|
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/
|
prep
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
|
ts-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
app/scripts/components/common/aoi/types.d.ts#L38
Unexpected any. Specify a different type
|
lint:
app/scripts/components/common/aoi/use-aoi-controls.ts#L131
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array. If 'setAoi' needs the current value of 'mapRef', you can also switch to useReducer instead of useState and read 'mapRef' in the reducer
|
lint:
app/scripts/components/common/blocks/block-map.tsx#L180
React Hook useMemo has a missing dependency: 'datasetLayers'. Either include it or remove the dependency array
|
lint:
app/scripts/components/common/blocks/index.tsx#L280
Unnecessary conditional, value is always falsy
|
lint:
app/scripts/components/common/blocks/index.tsx#L347
Unexpected any. Specify a different type
|
lint:
app/scripts/components/common/blocks/index.tsx#L355
Unexpected any. Specify a different type
|
lint:
app/scripts/components/common/blocks/scrollytelling/index.tsx#L83
Unexpected any. Specify a different type
|
lint:
app/scripts/components/common/browse-controls/index.tsx#L96
Unnecessary conditional, value is always truthy
|
lint:
app/scripts/components/common/card/horizontal-info-card.tsx#L93
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
app/scripts/components/common/card/index.tsx#L224
Unexpected any. Specify a different type
|