Skip to content

fix build

fix build #348

Triggered via pull request July 1, 2024 06:11
Status Failure
Total duration 41s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: core/src/date-input/date-input.tsx#L60
'DayPickerOverlayProps' is defined but never used
lint: core/src/date-input/date-input.tsx#L89
'days' is never reassigned. Use 'const' instead
lint: new-docs/src/color/static/table.tsx#L12
Definition for rule 'react/prop-types' was not found
lint: new-docs/src/color/static/table.tsx#L19
Definition for rule 'react/prop-types' was not found
lint: new-docs/src/components/radio-group.stories.tsx#L11
Unexpected any. Specify a different type
lint: new-docs/src/components/select.stories.tsx#L11
Unexpected any. Specify a different type
lint: new-docs/src/components/switcher.stories.tsx#L11
Unexpected any. Specify a different type
lint: new-docs/src/components/tab.stories.tsx#L11
Unexpected any. Specify a different type
lint: new-docs/src/components/table.stories.tsx#L13
Unexpected any. Specify a different type
lint: new-docs/src/components/table.stories.tsx#L14
Unexpected any. Specify a different type
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. 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/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: new-docs/src/color/sample/sample.tsx#L53
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. If 'setContrast' needs the current value of 'props', you can also switch to useReducer instead of useState and read 'props' in the reducer
lint: new-docs/src/utils/page/component.tsx#L18
Fast refresh only works when a file only exports components. Move your component(s) to a separate file