Skip to content

feat(ui-codemods): add codemod for v10 color update #538

feat(ui-codemods): add codemod for v10 color update

feat(ui-codemods): add codemod for v10 color update #538

Triggered via pull request July 23, 2024 11:26
Status Failure
Total duration 4m 7s
Artifacts

cypress.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
cypress: packages/ui-codemods/lib/utils/updateToV10Colors.ts#L59
Property 'name' does not exist on type 'JSXElement | JSXText | JSXExpressionContainer | JSXFragment | Literal | StringLiteral | ... 46 more ... | TSTypeAssertion'.
cypress: packages/ui-codemods/lib/utils/updateToV10Colors.ts#L61
Property 'property' does not exist on type 'ExpressionKind'.
cypress: packages/ui-codemods/lib/utils/updateToV10Colors.ts#L62
Property 'name' does not exist on type 'JSXElement | JSXText | JSXExpressionContainer | JSXFragment | Literal | StringLiteral | ... 46 more ... | TSTypeAssertion'.
cypress: packages/ui-codemods/lib/utils/updateToV10Colors.ts#L62
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ brand: string; link: string; electric: string; shamrock: string; barney: string; crimson: string; fire: string; licorice: string; oxford: string; ash: string; slate: string; tiara: string; porcelain: string; white: string; }'.
cypress: packages/ui-codemods/lib/utils/updateToV10Colors.ts#L62
Property 'name' does not exist on type 'JSXElement | JSXText | JSXExpressionContainer | JSXFragment | Literal | StringLiteral | ... 46 more ... | TSTypeAssertion'.
cypress
Process completed with exit code 2.
cypress
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/