Skip to content

feat: 动态import可选依赖 #135

feat: 动态import可选依赖

feat: 动态import可选依赖 #135

Triggered via pull request November 20, 2023 07:07
Status Failure
Total duration 1m 11s
Artifacts

node.js.yml

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

Annotations

8 errors and 22 warnings
build (16.x): src/segment.ts#L18
Require statement not part of import statement
build (16.x): src/segment.ts#L29
Require statement not part of import statement
build (16.x): src/segment.ts#L50
Require statement not part of import statement
build (16.x)
Process completed with exit code 1.
build (20.x): src/segment.ts#L18
Require statement not part of import statement
build (20.x): src/segment.ts#L29
Require statement not part of import statement
build (20.x): src/segment.ts#L50
Require statement not part of import statement
build (20.x)
The operation was canceled.
build (16.x)
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/
build (16.x): src/segment-web.ts#L1
Do not use "@ts-ignore" because it alters compilation errors
build (16.x): src/segment-web.ts#L5
Unexpected any. Specify a different type
build (16.x): src/segment-web.ts#L6
Unexpected any. Specify a different type
build (16.x): src/segment.ts#L3
Do not use "@ts-ignore" because it alters compilation errors
build (16.x): src/segment.ts#L8
Unexpected any. Specify a different type
build (16.x): src/segment.ts#L9
Unexpected any. Specify a different type
build (16.x): src/util.ts#L10
Unexpected any. Specify a different type
build (16.x): test/test.ts#L5
Do not use "@ts-ignore" because it alters compilation errors
build (16.x): test/test.ts#L10
Unexpected any. Specify a different type
build (16.x): test/test.ts#L299
Unexpected any. Specify a different type
build (20.x)
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/
build (20.x): src/segment-web.ts#L1
Do not use "@ts-ignore" because it alters compilation errors
build (20.x): src/segment-web.ts#L5
Unexpected any. Specify a different type
build (20.x): src/segment-web.ts#L6
Unexpected any. Specify a different type
build (20.x): src/segment.ts#L3
Do not use "@ts-ignore" because it alters compilation errors
build (20.x): src/segment.ts#L8
Unexpected any. Specify a different type
build (20.x): src/segment.ts#L9
Unexpected any. Specify a different type
build (20.x): src/util.ts#L10
Unexpected any. Specify a different type
build (20.x): test/test.ts#L5
Do not use "@ts-ignore" because it alters compilation errors
build (20.x): test/test.ts#L10
Unexpected any. Specify a different type
build (20.x): test/test.ts#L299
Unexpected any. Specify a different type