Skip to content

Feature/fetchpriority #397

Feature/fetchpriority

Feature/fetchpriority #397

Re-run triggered December 15, 2023 12:08
Status Failure
Total duration 1m 10s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
Lint: react/ProductSummaryImage.tsx#L320
Replace `·product,·position·}:·{·product:·ProductSummaryTypes.Product,·position:·number·|·undefined` with `⏎····product,⏎····position,⏎··}:·{⏎····product:·ProductSummaryTypes.Product⏎····position:·number·|·undefined⏎·`
Lint: react/ProductSummaryImage.tsx#L434
Replace `isMobile:·boolean,·position:·number·|·undefined` with `⏎····isMobile:·boolean,⏎····position:·number·|·undefined⏎··`
Lint: react/ProductSummaryImage.tsx#L434
'isMobile' is already declared in the upper scope
Lint: react/ProductSummaryImage.tsx#L434
'position' is already declared in the upper scope
Lint: react/ProductSummaryImage.tsx#L436
Replace `·?·(position·===·1·?·'high'·:·'low')·:·position·<·4·?·'high'·:·'low';` with `⏎········?·position·===·1⏎··········?·'high'⏎··········:·'low'⏎········:·position·<·4⏎········?·'high'⏎········:·'low'`
Lint: react/ProductSummaryImage.tsx#L438
Delete `;`
Lint: react/ProductSummaryImage.tsx#L439
Delete `;`
Lint: react/ProductSummaryImage.tsx#L464
Replace `fetchpriority·===·'byPosition'·?·getFetchPriority(isMobile,·position)·:·fetchpriority` with `⏎················fetchpriority·===·'byPosition'⏎··················?·getFetchPriority(isMobile,·position)⏎··················:·fetchpriority⏎··············`
Lint: react/ProductSummaryImage.tsx#L573
Insert `,`
Lint: react/ProductSummaryImage.tsx#L576
Insert `,`
IO app test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
IO app test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint: react/ProductSummaryContext.tsx#L18
Unexpected any. Specify a different type
Lint: react/ProductSummaryImage.tsx#L438
Expected blank line before this statement
Lint: react/ProductSummaryList.tsx#L138
Unexpected any. Specify a different type
Lint: react/ProductSummaryList.tsx#L138
Unexpected any. Specify a different type
Lint: react/ProductSummaryList.tsx#L140
Unexpected any. Specify a different type
Lint: react/ProductSummaryList.tsx#L207
Unexpected any. Specify a different type
Lint: react/ProductSummaryListWithoutQuery.tsx#L18
Unexpected any. Specify a different type
Lint: react/ProductSummaryListWithoutQuery.tsx#L21
Unexpected any. Specify a different type
Lint: react/ProductSummaryListWithoutQuery.tsx#L23
Unexpected any. Specify a different type
Lint: react/ProductSummaryListWithoutQuery.tsx#L33
Unexpected any. Specify a different type
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/