Skip to content

fix build

fix build #347

Triggered via pull request June 30, 2024 17:41
Status Failure
Total duration 39s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
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: new-docs/src/components/toast.stories.tsx#L11
Unexpected any. Specify a different type
lint: new-docs/src/utils/arg.ts#L12
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