BpkCardList #1639
pr.yml
on: pull_request
Create-NPM-Cache
14s
Build
/
Build
41s
Build
/
PercyTests
1m 36s
Build
/
Danger
15s
StorybookDeploy
37s
Annotations
7 errors and 1 warning
Build / Build:
packages/bpk-component-card-list/src/BpkCardListGrid/BpkCardListGrid-test.tsx#L28
Type '{ children: Element[]; accessory: "expand"; expandText: string; showContent: Mock<any, any, any>; hideContent: Mock<any, any, any>; collapsed: true; setCollapsed: Mock<...>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Build / Build:
packages/bpk-component-card-list/src/BpkCardListGrid/BpkCardListGrid-test.tsx#L46
Type '{ children: Element[]; accessory: "button"; expandText: string; onButtonClick: Mock<any, any, any>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Build / Build:
packages/bpk-component-card-list/src/BpkCardListStack/BpkCardListStack-test.tsx#L28
Type '{ children: Element[]; accessory: "expand"; expandText: string; showContent: Mock<any, any, any>; hideContent: Mock<any, any, any>; collapsed: true; setCollapsed: Mock<...>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Build / Build:
packages/bpk-component-card-list/src/BpkCardListStack/BpkCardListStack-test.tsx#L46
Type '{ children: Element[]; accessory: "button"; expandText: string; onButtonClick: Mock<any, any, any>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Build / Build:
packages/bpk-component-card-list/src/BpkExpand/BpkExpand-test.tsx#L31
'BpkExpand' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of 'children' is 'ReactElement<any, string | JSXElementConstructor<any>>'.
|
Build / Build:
packages/bpk-component-card-list/src/BpkExpand/BpkExpand-test.tsx#L50
'BpkExpand' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of 'children' is 'ReactElement<any, string | JSXElementConstructor<any>>'.
|
Build / Build
Process completed with exit code 2.
|
StorybookDeploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: peaceiris/actions-gh-pages@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|