Skip to content

fix: optimize code #7114

fix: optimize code

fix: optimize code #7114

Triggered via push December 26, 2023 11:02
Status Success
Total duration 11m 36s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

44 warnings
build (18.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (18.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (18.x, ubuntu-latest): packages/ice/src/esbuild/rscLoader.ts#L34
Array.prototype.map() expects a return value from arrow function
build (18.x, ubuntu-latest): packages/ice/src/esbuild/rscLoader.ts#L36
Array.prototype.map() expects a value to be returned at the end of arrow function
build (18.x, ubuntu-latest): packages/rax-compat/src/create-class.ts#L28
Do not access Object.prototype method 'hasOwnProperty' from target object
build (18.x, ubuntu-latest): packages/rax-compat/src/create-class.ts#L49
Use the rest parameters instead of 'arguments'
build (18.x, ubuntu-latest): packages/runtime/src/runRSCServerApp.tsx#L182
'renderDocument' is defined but never used. Allowed unused vars must match /[iI]gnored|createElement/u
build (18.x, ubuntu-latest): packages/runtime/src/server/createServerComponentRenderer.tsx#L16
This line has a length of 161. Maximum allowed is 120
build (18.x, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (18.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (18.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (16.x, ubuntu-latest): packages/ice/src/esbuild/rscLoader.ts#L34
Array.prototype.map() expects a return value from arrow function
build (16.x, ubuntu-latest): packages/ice/src/esbuild/rscLoader.ts#L36
Array.prototype.map() expects a value to be returned at the end of arrow function
build (16.x, ubuntu-latest): packages/rax-compat/src/create-class.ts#L28
Do not access Object.prototype method 'hasOwnProperty' from target object
build (16.x, ubuntu-latest): packages/rax-compat/src/create-class.ts#L49
Use the rest parameters instead of 'arguments'
build (16.x, ubuntu-latest): packages/runtime/src/runRSCServerApp.tsx#L182
'renderDocument' is defined but never used. Allowed unused vars must match /[iI]gnored|createElement/u
build (16.x, ubuntu-latest): packages/runtime/src/server/createServerComponentRenderer.tsx#L16
This line has a length of 161. Maximum allowed is 120
build (16.x, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (16.x, windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, windows-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (16.x, windows-latest): packages/ice/src/esbuild/rscLoader.ts#L34
Array.prototype.map() expects a return value from arrow function
build (16.x, windows-latest): packages/ice/src/esbuild/rscLoader.ts#L36
Array.prototype.map() expects a value to be returned at the end of arrow function
build (16.x, windows-latest): packages/rax-compat/src/create-class.ts#L28
Do not access Object.prototype method 'hasOwnProperty' from target object
build (16.x, windows-latest): packages/rax-compat/src/create-class.ts#L49
Use the rest parameters instead of 'arguments'
build (16.x, windows-latest): packages/runtime/src/runRSCServerApp.tsx#L182
'renderDocument' is defined but never used. Allowed unused vars must match /[iI]gnored|createElement/u
build (16.x, windows-latest): packages/runtime/src/server/createServerComponentRenderer.tsx#L16
This line has a length of 161. Maximum allowed is 120
build (18.x, windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (18.x, windows-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (18.x, windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (18.x, windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (18.x, windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (18.x, windows-latest): packages/ice/src/esbuild/rscLoader.ts#L34
Array.prototype.map() expects a return value from arrow function
build (18.x, windows-latest): packages/ice/src/esbuild/rscLoader.ts#L36
Array.prototype.map() expects a value to be returned at the end of arrow function
build (18.x, windows-latest): packages/rax-compat/src/create-class.ts#L28
Do not access Object.prototype method 'hasOwnProperty' from target object
build (18.x, windows-latest): packages/rax-compat/src/create-class.ts#L49
Use the rest parameters instead of 'arguments'
build (18.x, windows-latest): packages/runtime/src/runRSCServerApp.tsx#L182
'renderDocument' is defined but never used. Allowed unused vars must match /[iI]gnored|createElement/u
build (18.x, windows-latest): packages/runtime/src/server/createServerComponentRenderer.tsx#L16
This line has a length of 161. Maximum allowed is 120