Add support for 'link' type action in DataViews #122979
unit-test.yml
on: pull_request
Compute previous WordPress version
0s
Build JavaScript assets for PHP unit tests
2m 53s
PHP coding standards
17s
Mobile
4m 3s
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
PHP
0s
Annotations
11 errors and 15 warnings
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/components/dataviews-bulk-actions/index.tsx#L167
This expression is not callable.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/components/dataviews-item-actions/index.tsx#L73
This expression is not callable.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/components/dataviews-item-actions/index.tsx#L93
This expression is not callable.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/components/dataviews-item-actions/index.tsx#L107
This expression is not callable.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/components/dataviews-item-actions/index.tsx#L138
Argument of type 'ActionModal<Item> | ActionLink<Item>' is not assignable to parameter of type 'ActionModal<Item> | null'.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/components/dataviews/stories/fixtures.tsx#L579
Type '{ id: string; label: string; isPrimary: true; icon: Element; hideModalHeader: true; RenderModal: ({ items, closeModal }: RenderModalProps<SpaceObject>) => Element; }' is not assignable to type 'Action<SpaceObject>'.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/components/dataviews/stories/fixtures.tsx#L611
Type '{ id: string; label: string; callback(): void; }' is not assignable to type 'Action<SpaceObject>'.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/dataviews-layouts/list/index.tsx#L95
This expression is not callable.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/dataviews-layouts/list/index.tsx#L115
Type 'ActionModal<Item> | ActionLink<Item>' is not assignable to type 'ActionModal<Item>'.
|
Build JavaScript assets for PHP unit tests:
packages/dataviews/src/test/dataviews.tsx#L89
Type '{ id: string; label: string; isDestructive: true; supportsBulk: true; RenderModal: () => React.JSX.Element; }' is not assignable to type 'Action<Data>'.
|
PHP
Process completed with exit code 1.
|
Compute previous WordPress version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP coding standards
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript Date Tests (Node.js 22)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Build JavaScript assets for PHP unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mobile
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|