Skip to content

Update: SKU Selector logic for default #1099

Update: SKU Selector logic for default

Update: SKU Selector logic for default #1099

Triggered via pull request October 31, 2024 19:30
Status Failure
Total duration 1m 20s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 18 warnings
Lint: react/__tests__/components/SKUSelector.test.tsx#L131
Replace `"Size":·"41",·"Color":·"Gray"` with `·Size:·'41',·Color:·'Gray'·`
Lint: react/__tests__/components/SKUSelector.test.tsx#L132
Delete `······`
Lint: react/__tests__/components/SKUSelector.test.tsx#L133
Delete `⏎········`
Lint: react/__tests__/components/SKUSelector.test.tsx#L140
Replace `"Size":·"41",·"Color":·"Gray"` with `·Size:·'41',·Color:·'Gray'·`
Lint: react/__tests__/components/SKUSelector.test.tsx#L146
Replace `orderItemsByAvailability` with `⏎······orderItemsByAvailability⏎····`
Lint: react/__tests__/components/SKUSelector.test.tsx#L148
Replace `"2")⏎⏎····` with `'2')`
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L125
Replace `·item2:·SelectorProductItem)·=>·{⏎` with `⏎··item2:·SelectorProductItem⏎)·=>·{`
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L141
Replace `·?·defaultSellerItem1.commertialOffer.AvailableQuantity` with `⏎····?·defaultSellerItem1.commertialOffer.AvailableQuantity⏎···`
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L142
Replace `·?·defaultSellerItem2.commertialOffer.AvailableQuantity` with `⏎····?·defaultSellerItem2.commertialOffer.AvailableQuantity⏎···`
Lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
IO app test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint: react/__tests__/components/ProductDescription.test.tsx#L7
Unexpected any. Specify a different type
Lint: react/__tests__/components/SKUSelector.test.tsx#L11
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#L192
Expected blank line before this statement
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L278
Unexpected any. Specify a different type
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L281
Unexpected any. Specify a different type
Lint: react/components/SKUSelector/components/SKUSelector.tsx#L281
Unexpected any. Specify a different type
Lint: react/components/SanitizedHTML.tsx#L93
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/