Skip to content

feat: support cjs and esm both by tshy #536

feat: support cjs and esm both by tshy

feat: support cjs and esm both by tshy #536

Triggered via pull request December 21, 2024 17:09
@fengmk2fengmk2
synchronize #178
egg-v4
Status Failure
Total duration 55s
Artifacts

nodejs.yml

on: pull_request
Node.js  /  Setup
3s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

45 errors and 6 warnings
Node.js / Test (ubuntu-latest, 22): src/bootstrap.d.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 22): src/index.test-d.ts#L42
'ctx' is defined but never used
Node.js / Test (ubuntu-latest, 22): src/index.ts#L4
'mockAgent' is defined but never used
Node.js / Test (ubuntu-latest, 22): src/lib/utils.ts#L56
'merge' is defined but never used
Node.js / Test (ubuntu-latest, 22): test/fixtures/tegg-app/test/hooks.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 22): test/fixtures/tegg-app/test/multi_mock_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 22): test/fixtures/tegg-app/test/tegg.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 22): test/fixtures/tegg-app/test/tegg_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 22)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 23): src/bootstrap.d.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 23): src/index.test-d.ts#L42
'ctx' is defined but never used
Node.js / Test (ubuntu-latest, 23): src/index.ts#L4
'mockAgent' is defined but never used
Node.js / Test (ubuntu-latest, 23): src/lib/utils.ts#L56
'merge' is defined but never used
Node.js / Test (ubuntu-latest, 23): test/fixtures/tegg-app/test/hooks.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 23): test/fixtures/tegg-app/test/multi_mock_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 23): test/fixtures/tegg-app/test/tegg.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 23): test/fixtures/tegg-app/test/tegg_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 23)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 20): src/bootstrap.d.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 20): src/index.test-d.ts#L42
'ctx' is defined but never used
Node.js / Test (ubuntu-latest, 20): src/index.ts#L4
'mockAgent' is defined but never used
Node.js / Test (ubuntu-latest, 20): src/lib/utils.ts#L56
'merge' is defined but never used
Node.js / Test (ubuntu-latest, 20): test/fixtures/tegg-app/test/hooks.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 20): test/fixtures/tegg-app/test/multi_mock_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 20): test/fixtures/tegg-app/test/tegg.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 20): test/fixtures/tegg-app/test/tegg_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 20)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 18.19.0): src/bootstrap.d.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18.19.0): src/index.test-d.ts#L42
'ctx' is defined but never used
Node.js / Test (ubuntu-latest, 18.19.0): src/index.ts#L4
'mockAgent' is defined but never used
Node.js / Test (ubuntu-latest, 18.19.0): src/lib/utils.ts#L56
'merge' is defined but never used
Node.js / Test (ubuntu-latest, 18.19.0): test/fixtures/tegg-app/test/hooks.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18.19.0): test/fixtures/tegg-app/test/tegg.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18.19.0): test/fixtures/tegg-app/test/tegg_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18.19.0)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 18): src/bootstrap.d.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18): src/index.test-d.ts#L42
'ctx' is defined but never used
Node.js / Test (ubuntu-latest, 18): src/index.ts#L4
'mockAgent' is defined but never used
Node.js / Test (ubuntu-latest, 18): src/lib/utils.ts#L56
'merge' is defined but never used
Node.js / Test (ubuntu-latest, 18): test/fixtures/tegg-app/test/hooks.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18): test/fixtures/tegg-app/test/multi_mock_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18): test/fixtures/tegg-app/test/tegg.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18): test/fixtures/tegg-app/test/tegg_context.test.ts#L1
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18)
Process completed with exit code 1.
Node.js / Setup
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js / Test (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js / Test (ubuntu-latest, 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js / Test (ubuntu-latest, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js / Test (ubuntu-latest, 18.19.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js / Test (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636