Skip to content

add more module logic #653

add more module logic

add more module logic #653

Triggered via push September 17, 2023 15:11
Status Failure
Total duration 4m 19s
Artifacts

web-npm_test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
npm_test: cocos/particle/curve-range.ts#L27
Cannot find module '../../core' or its corresponding type declarations.
npm_test: cocos/particle/curve-range.ts#L28
Cannot find module '../../core/internal-index' or its corresponding type declarations.
npm_test: cocos/particle/curve-range.ts#L193
Function lacks ending return statement and return type does not include 'undefined'.
npm_test: cocos/particle/curve-range.ts#L211
Type 'readonly ["mode", "constant"] | readonly ["mode", "spline", "constant"] | readonly ["mode", "splineMin", "spline", "constant"] | readonly ["mode", "constantMin", "constant"]' is not assignable to type 'readonly ["mode", "constant", "multiplier"] | readonly ["mode", "spline", "multiplier"] | readonly ["mode", "splineMin", "splineMax", "multiplier"] | readonly ["mode", "constantMin", "constantMax", "multiplier"]'.
npm_test: cocos/particle/deprecated.ts#L26
Cannot find module './burst' or its corresponding type declarations.
npm_test: cocos/particle/gradient-range.ts#L128
Property 'copy' does not exist on type 'Gradient'.
npm_test: cocos/particle/line.ts#L30
Cannot find module './animator/curve-range' or its corresponding type declarations.
npm_test: cocos/particle/line.ts#L31
Cannot find module './animator/gradient-range' or its corresponding type declarations.
npm_test: cocos/particle/models/line-model.ts#L31
Cannot find module '../animator/curve-range' or its corresponding type declarations.
npm_test: cocos/particle/models/line-model.ts#L32
Cannot find module '../animator/gradient-range' or its corresponding type declarations.
npm_test
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/