Skip to content

feat: home, side, repo page #490

feat: home, side, repo page

feat: home, side, repo page #490

Triggered via push July 12, 2024 06:56
Status Failure
Total duration 1m 31s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 8 warnings
Run ESLint
Process completed with exit code 1.
Run Prettier Check
Process completed with exit code 1.
Run Type Check: src/components/side/TagList.tsx#L80
Type 'TFunction<"home", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/components/user/CommentList.tsx#L75
Type '{ user: UserStatusProps; footerRight: () => Element; comment: string; belong_id: string; belong: "article" | "repository"; cid: string; votes: number; score: number; ... 11 more ...; key: string; }' is missing the following properties from type '{ t: (key: string, total?: any) => string; i18n_lang: string; className?: string | undefined; alone?: boolean | undefined; footerRight?: ((data: CommentItemData) => ReactNode) | undefined; onChangeVote?: ((value: boolean) => void) | undefined; onReply?: ((cid: string, reply_id?: string | undefined) => void) | undefi...': t, i18n_lang
Run Type Check: src/pages/repository/[rid]/index.tsx#L34
Type 'TFunction<"repository", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/pages/repository/[rid]/index.tsx#L35
Type 'TFunction<"repository", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/pages/repository/[rid]/index.tsx#L41
Type 'TFunction<"repository", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/pages/tags/[tid].tsx#L22
Property 'i18n_lang' is missing in type '{ repositories: HomeItem[]; }' but required in type 'Props'.
Run Type Check
Process completed with exit code 2.
Run ESLint
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/
Run ESLint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run ESLint: src/components/respository/Info.tsx#L4
'NextPage' is defined but never used
Run ESLint: src/pages/repository/[rid]/index.tsx#L1
Run autofix to sort these imports!
Run Prettier Check
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/
Run Prettier Check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run Type Check
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/
Run Type Check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/