Skip to content

feat: 个人主页 /u/[username] (MVP) #632

feat: 个人主页 /u/[username] (MVP)

feat: 个人主页 /u/[username] (MVP) #632

Triggered via pull request April 16, 2026 14:06
Status Failure
Total duration 39s
Artifacts

deploy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
build
Process completed with exit code 2.
build: app/u/[username]/page.tsx#L101
Conversion of type '({ id: string; name: string; points: number; commits: number; avatarUrl: string; contributedDocs: { id: string; title: string; url: string; }[]; dailyCounts: { "2025-09-26": number; "2025-10-26": number; "2025-10-25": number; ... 71 more ...; "2025-10-14"?: undefined; }; } | ... 17 more ... | { ...; })[]' to type 'Row[]' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build: scripts/generate-leaderboard.mjs#L207
'id' is defined but never used
build: scripts/generate-leaderboard.mjs#L94
'e' is defined but never used
build: scripts/generate-leaderboard.mjs#L38
'name' is assigned a value but never used
build: mdx-components.tsx#L33
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
build: app/layout.tsx#L144
Custom fonts not added in `pages/_document.js` will only load for a single page. This is discouraged. See: https://nextjs.org/docs/messages/no-page-custom-font