Skip to content

release: v2.4.0 理论知识模块 + 情境化题库 + 全面质量提升 #74

release: v2.4.0 理论知识模块 + 情境化题库 + 全面质量提升

release: v2.4.0 理论知识模块 + 情境化题库 + 全面质量提升 #74

Triggered via push April 14, 2026 12:58
Status Failure
Total duration 43s
Artifacts

ci.yml

on: push
Build
Build
Deploy to GitHub Pages
0s
Deploy to GitHub Pages
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 12 warnings
Type Check
Process completed with exit code 2.
Type Check: src/utils/assessmentDataAudit.ts#L152
Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
Type Check: src/utils/assessmentDataAudit.ts#L152
Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
Type Check: src/data/political-ideology/advanced-mode-validation.ts#L330
Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
Type Check: src/data/political-ideology/advanced-mode-validation.ts#L330
Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
Lint Code
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. 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/
Lint Code: src/pages/Assessment.tsx#L319
React Hook useEffect has missing dependencies: 'handleNext' and 'handleOptionSelect'. Either include them or remove the dependency array
Lint Code: src/components/xianxia/VisualNovelEngine.tsx#L241
React Hook useCallback has a missing dependency: 'safeTimeout'. Either include it or remove the dependency array
Lint Code: src/components/xianxia/VisualNovelEngine.tsx#L202
React Hook useCallback has a missing dependency: 'safeTimeout'. Either include it or remove the dependency array
Lint Code: src/components/xianxia/VisualNovelEngine.tsx#L175
React Hook useCallback has a missing dependency: 'safeTimeout'. Either include it or remove the dependency array
Lint Code: src/components/xianxia/VisualNovelEngine.tsx#L153
React Hook useEffect has a missing dependency: 'safeTimeout'. Either include it or remove the dependency array
Lint Code: src/components/xianxia/VisualNovelEngine.tsx#L133
React Hook useEffect has missing dependencies: 'currentEvent' and 'safeTimeout'. Either include them or remove the dependency array
Lint Code: src/components/ui/Toast.tsx#L26
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint Code: src/components/ui/ErrorBoundary.tsx#L152
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint Code: src/components/charts/PoliticalIdeologySpectrum.tsx#L894
Fast refresh can't handle anonymous components. Add a name to your export
Lint Code: src/components/charts/PoliticalIdeologySpectrum.tsx#L60
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
Type Check
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. 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/