Skip to content

Add nodejs 20.x support #89

Add nodejs 20.x support

Add nodejs 20.x support #89

Triggered via push April 25, 2024 13:59
Status Failure
Total duration 30s
Artifacts

ci.yml

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

Annotations

10 errors and 2 warnings
test/lib/parseJson.test.mjs > parseJson with invalid code throws error: test/lib/parseJson.test.mjs#L87
AssertionError: expected [Function parse] to throw error including 'Unexpected end of JSON input' but got 'Expected property name or \'}\' in JS…' - Expected + Received - Unexpected end of JSON input + Expected property name or '}' in JSON at position 1 ❯ test/lib/parseJson.test.mjs:87:19
test/rules/plugin/use-valid-json.test.mjs > lint incorrect JSON: test/rules/plugin/use-valid-json.test.mjs#L30
AssertionError: expected { …(6) } to match object { severity: 2, …(3) } (2 matching properties omitted from actual) - Expected + Received Object { - "column": 17, - "line": 3, + "column": 1, + "line": 0, "ruleId": "json-es/use-valid-json", "severity": 2, } ❯ test/rules/plugin/use-valid-json.test.mjs:30:25
test/rules/plugin/use-valid-json.test.mjs > lint incorrect JSON shall return JSON.parse() error message: test/rules/plugin/use-valid-json.test.mjs#L51
AssertionError: expected { ruleId: null, fatal: true, …(4) } to match object { severity: 2, ruleId: null, …(3) } (1 matching property omitted from actual) - Expected + Received Object { "column": 3, "line": 1, - "message": "Parsing error: Unexpected end of JSON input", + "message": "Parsing error: Expected property name or '}' in JSON at position 1", "ruleId": null, "severity": 2, } ❯ test/rules/plugin/use-valid-json.test.mjs:51:25
test/rules/plugin/use-valid-json.test.mjs > lint incorrect JSON shall return JSON.parse() error message: test/rules/plugin/use-valid-json.test.mjs#L71
AssertionError: expected { …(6) } to match object { severity: 2, …(4) } (1 matching property omitted from actual) - Expected + Received Object { "column": 8, "line": 1, - "message": "Unexpected token ) in JSON at position 7", + "message": "Unexpected non-whitespace character after JSON at position 7", "ruleId": "json-es/use-valid-json", "severity": 2, } ❯ test/rules/plugin/use-valid-json.test.mjs:71:25
test/rules/plugin/use-valid-json.test.mjs > lint incorrect JSON shall return JSON.parse() error message for line 2: test/rules/plugin/use-valid-json.test.mjs#L91
AssertionError: expected { …(6) } to match object { severity: 2, …(4) } (1 matching property omitted from actual) - Expected + Received Object { "column": 14, "line": 2, - "message": "Unexpected token in JSON at position 25", + "message": "Unterminated fractional number in JSON at position 25", "ruleId": "json-es/use-valid-json", "severity": 2, } ❯ test/rules/plugin/use-valid-json.test.mjs:91:25
build (20.x)
Process completed with exit code 1.
build (16.x)
The job was canceled because "_20_x" failed.
build (16.x)
The operation was canceled.
build (18.x)
The job was canceled because "_20_x" failed.
build (18.x)
The operation was canceled.
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/