Skip to content

chore: release v0.0.0-beta.15 #22

chore: release v0.0.0-beta.15

chore: release v0.0.0-beta.15 #22

Triggered via push May 6, 2024 01:57
Status Failure
Total duration 1m 22s
Artifacts

ci.yml

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

Annotations

17 errors and 5 warnings
typecheck: test/configs/log.config.cts#L4
Object literal may only specify known properties, and 'from' does not exist in type 'Partial<LogOptions>'.
typecheck
Process completed with exit code 1.
test/config.test.ts > load config > normalizeConfig > has path or resolvePathFn: test/config.test.ts#L109
Error: Snapshot `load config > normalizeConfig > has path or resolvePathFn 3` mismatched - Expected + Received [ - "/Users/zhanqingjie/Library/Logs/@dmzj/electron-log-plugin", + "/home/runner/.config/@dmzj/electron-log-plugin/logs", "SMSLog-", "log", ] ❯ test/config.test.ts:109:10
test/utils.test.ts > utils > isisiisi: test/utils.test.ts#L10
Error: Snapshot `utils > isisiisi 4` mismatched - Expected + Received - true + false ❯ test/utils.test.ts:10:38
test/utils.test.ts > utils > getOsVersion: test/utils.test.ts#L15
Error: Snapshot `utils > getOsVersion 1` mismatched - Expected + Received - "macOS release - 9" + "Linux 6.5.0-1018-azure" ❯ test/utils.test.ts:15:28
test/utils.test.ts > utils > isWindows: test/utils.test.ts#L21
Error: Snapshot `utils > isWindows 2` mismatched - Expected + Received - false + true ❯ test/utils.test.ts:21:23
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test/config.test.ts > load config > normalizeConfig > has path or resolvePathFn: test/config.test.ts#L109
Error: Snapshot `load config > normalizeConfig > has path or resolvePathFn 3` mismatched - Expected + Received [ - "/Users/zhanqingjie/Library/Logs/@dmzj/electron-log-plugin", + "/Users/runner/Library/Logs/@dmzj/electron-log-plugin", "SMSLog-", "log", ] ❯ test/config.test.ts:109:10
test/utils.test.ts > utils > isisiisi: test/utils.test.ts#L10
Error: Snapshot `utils > isisiisi 4` mismatched - Expected + Received - true + false ❯ test/utils.test.ts:10:38
test (lts/*, macos-latest)
Process completed with exit code 1.
test/config.test.ts > load config > normalizeConfig > has path or resolvePathFn: test/config.test.ts#L109
Error: Snapshot `load config > normalizeConfig > has path or resolvePathFn 3` mismatched - Expected + Received [ - "/Users/zhanqingjie/Library/Logs/@dmzj/electron-log-plugin", + "C:/usr/logs", "SMSLog-", "log", ] ❯ test/config.test.ts:109:10
test/utils.test.ts > utils > isisiisi: test/utils.test.ts#L10
Error: Snapshot `utils > isisiisi 4` mismatched - Expected + Received - true + false ❯ test/utils.test.ts:10:38
test/utils.test.ts > utils > getOsVersion: test/utils.test.ts#L15
Error: Snapshot `utils > getOsVersion 1` mismatched - Expected + Received - "macOS release - 9" + "Windows NT 10.0.20348" ❯ test/utils.test.ts:15:28
test/utils.test.ts > utils > isWindows: test/utils.test.ts#L19
Error: Snapshot `utils > isWindows 1` mismatched - Expected + Received - false + true ❯ test/utils.test.ts:19:25
test/logPath/ext.test.ts > ext > isValidLogPath: test/logPath/ext.test.ts#L6
Error: Snapshot `ext > isValidLogPath 1` mismatched - Expected + Received { "base": null, - "dir": null, + "dir": "C:/usr/aaa", } ❯ test/logPath/ext.test.ts:6:53
test/logPath/valid.test.ts > valid > regexLogPath: test/logPath/valid.test.ts#L17
Error: Snapshot `valid > regexLogPath 3` mismatched - Expected + Received - "/aaa/ddd/sss" + undefined ❯ test/logPath/valid.test.ts:17:8
test (lts/*, windows-latest)
Process completed with exit code 1.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (lts/*, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (lts/*, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (lts/*, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.