Skip to content

normalize pin labels #178

normalize pin labels

normalize pin labels #178

Triggered via pull request October 30, 2024 20:37
Status Failure
Total duration 21s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
ZodError: [: node_modules/zod/lib/index.mjs#L164
"code": "invalid_union", "unionErrors": [ { "issues": [ { "received": "pill", "code": "invalid_literal", "expected": "circle", "path": [ "shape" ], "message": "Invalid literal value, expected \"circle\"" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "outer_diameter" ], "message": "Required" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "hole_diameter" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "number", "path": [ "port_hints", 0 ], "message": "Expected string, received number" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "string", "received": "number", "path": [ "port_hints", 0 ], "message": "Expected string, received number" } ], "name": "ZodError" } ], "path": [], "message": "Invalid input" } ] at new ZodError (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:164:9) at error (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:587:31) at parse (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:692:15) at /home/runner/work/easyeda-converter/easyeda-converter/lib/convert-easyeda-json-to-tscircuit-soup-json.ts:240:25 at forEach (1:11) at convertEasyEdaJsonToCircuitJson (/home/runner/work/easyeda-converter/easyeda-converter/lib/convert-easyeda-json-to-tscircuit-soup-json.ts:156:8) at /home/runner/work/easyeda-converter/easyeda-converter/lib/convert-to-typescript-component/index.tsx:28:23 at convertBetterEasyToTsx (/home/runner/work/easyeda-converter/easyeda-converter/lib/convert-to-typescript-component/index.tsx:23:39) at /home/runner/work/easyeda-converter/easyeda-converter/tests/convert-to-ts/C165948-to-ts.test.ts:10:24 at /home/runner/work/easyeda-converter/easyeda-converter/tests/convert-to-ts/C165948-to-ts.test.ts:8:51
ZodError: [: node_modules/zod/lib/index.mjs#L164
"code": "invalid_union", "unionErrors": [ { "issues": [ { "received": "pill", "code": "invalid_literal", "expected": "circle", "path": [ "shape" ], "message": "Invalid literal value, expected \"circle\"" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "outer_diameter" ], "message": "Required" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "hole_diameter" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "number", "path": [ "port_hints", 0 ], "message": "Expected string, received number" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "string", "received": "number", "path": [ "port_hints", 0 ], "message": "Expected string, received number" } ], "name": "ZodError" } ], "path": [], "message": "Invalid input" } ] at new ZodError (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:164:9) at error (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:587:31) at parse (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:692:15) at /home/runner/work/easyeda-converter/easyeda-converter/lib/convert-easyeda-json-to-tscircuit-soup-json.ts:240:25 at forEach (1:11) at convertEasyEdaJsonToCircuitJson (/home/runner/work/easyeda-converter/easyeda-converter/lib/convert-easyeda-json-to-tscircuit-soup-json.ts:156:8) at /home/runner/work/easyeda-converter/easyeda-converter/tests/convert-to-ts/C165948-to-ts.test.ts:21:23
ZodError: [: node_modules/zod/lib/index.mjs#L164
"code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_type", "expected": "string", "received": "number", "path": [ "port_hints", 0 ], "message": "Expected string, received number" } ], "name": "ZodError" }, { "issues": [ { "received": "circle", "code": "invalid_enum_value", "options": [ "oval", "pill" ], "path": [ "shape" ], "message": "Invalid enum value. Expected 'oval' | 'pill', received 'circle'" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "outer_width" ], "message": "Required" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "outer_height" ], "message": "Required" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "hole_width" ], "message": "Required" }, { "code": "invalid_type", "expected": "number", "received": "undefined", "path": [ "hole_height" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "number", "path": [ "port_hints", 0 ], "message": "Expected string, received number" } ], "name": "ZodError" } ], "path": [], "message": "Invalid input" } ] at new ZodError (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:164:9) at error (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:587:31) at parse (/home/runner/work/easyeda-converter/easyeda-converter/node_modules/zod/lib/index.mjs:692:15) at /home/runner/work/easyeda-converter/easyeda-converter/lib/convert-easyeda-json-to-tscircuit-soup-json.ts:240:25 at forEach (1:11) at convertEasyEdaJsonToCircuitJson (/home/runner/work/easyeda-converter/easyeda-converter/lib/convert-easyeda-json-to-tscircuit-soup-json.ts:156:8) at /home/runner/work/easyeda-converter/easyeda-converter/tests/convert-to-soup-tests/convert-easyeda-to-tscircuit-soup.test.ts:11:24 at /home/runner/work/easyeda-converter/easyeda-converter/tests/convert-to-soup-tests/convert-easyeda-to-tscircuit-soup.test.ts:9:79
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/