Skip to content

Fix sortVariationsByLabel when all labels are numeric #1028

Fix sortVariationsByLabel when all labels are numeric

Fix sortVariationsByLabel when all labels are numeric #1028

Triggered via pull request February 13, 2024 18:45
Status Failure
Total duration 1m 23s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 16 warnings
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L248
Unexpected use of 'isNaN'
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L252
Replace `··············return·a.label·-·b.label;` with `··········return·a.label·-·b.label`
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L253
Replace `··········` with `········`
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L253
Unnecessary 'else' after 'return'
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L254
Replace `··············return·a.label·<·b.label·?·-1·:·a.label·>·b.label·?·1·:·0;` with `··········return·a.label·<·b.label·?·-1·:·a.label·>·b.label·?·1·:·0`
IO app test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v1. 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/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/__tests__/components/ProductDescription.test.tsx#L7
Unexpected any. Specify a different type
Lint: react/__tests__/components/SKUSelector.test.tsx#L10
Unexpected any. Specify a different type
Lint: react/components/BuyButton/assemblyUtils.test.ts#L109
Forbidden non-null assertion
Lint: react/components/GradientCollapse/index.d.ts#L3
Unexpected any. Specify a different type
Lint: react/components/ProductImages/components/ProductImageContext.ts#L8
Unexpected any. Specify a different type
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L248
Unexpected any. Specify a different type
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L250
Unexpected any. Specify a different type
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L250
Unexpected any. Specify a different type
Lint: react/components/SanitizedHTML.tsx#L93
Unexpected any. Specify a different type
Lint: react/components/SearchBar/AutocompleteInput.tsx#L57
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/