[FEAT] migrate atom/label to TS #2
main.yml
on: pull_request
Deploy
0s
Release
0s
Annotations
10 errors
Lint
Process completed with exit code 1.
|
Typecheck:
components/atom/label/demo/index.tsx#L1
Could not find a declaration file for module '@s-ui/documentation-library'. '/home/runner/work/sui-components/sui-components/node_modules/@s-ui/documentation-library/lib/main.js' implicitly has an 'any' type.
|
Typecheck:
components/atom/label/demo/index.tsx#L73
Type '{ key: number; checkedIcon: () => Element; intermediateIcon: () => Element; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<any>'.
|
Typecheck:
components/atom/label/demo/index.tsx#L74
Type '{ children: string; key: number; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<any>'.
|
Typecheck:
components/atom/label/test/index.test.tsx#L20
Cannot find name 'setupEnvironment'.
|
Typecheck:
components/atom/label/test/index.test.tsx#L36
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
Typecheck:
components/atom/label/test/index.test.tsx#L114
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ readonly SUCCESS: "success"; readonly ERROR: "error"; readonly ALERT: "alert"; readonly CONTRAST: "contrast"; readonly DISABLED: "disabled"; }'.
|
Typecheck:
components/atom/label/test/index.test.tsx#L149
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ readonly LARGE: "large"; readonly MEDIUM: "medium"; readonly SMALL: "small"; readonly XSMALL: "xsmall"; }'.
|
Typecheck
Process completed with exit code 2.
|
Testing
Failed to FinalizeArtifact: Unable to make request: ECONNRESET
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-folder
|
413 KB |
|
coverage-folder
|
413 KB |
|
public-folder
|
5.61 MB |
|