Skip to content

train (#99)

train (#99) #275

Triggered via push March 15, 2024 18:04
Status Failure
Total duration 27s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
__tests__/index.test.js > OpenAPI 3.1 > JSON > should validate `train-travel.json` as valid: __tests__/index.test.js#L23
AssertionError: promise rejected "ResolverError: Error opening file "/home/… { …(5) }" instead of resolving ❯ __tests__/index.test.js:23:51 Caused by: ResolverError: Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md" ENOENT: no such file or directory, open '/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md' ❯ ReadFileContext.callback node_modules/@readme/json-schema-ref-parser/lib/resolvers/file.js:52:20 ❯ FSReqCallback.readFileAfterOpen [as oncomplete] node:fs:319:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERESOLVER', source: '/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md', path: null, toJSON: 'Function<toJSON>', ioErrorCode: 'ENOENT', footprint: 'null+/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md+ERESOLVER+Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md" \nENOENT: no such file or directory, open \'/home/runner/work/oas-examples/oas-examples/3.1/json/docs/getting-started.md\'' }
__tests__/index.test.js > OpenAPI 3.1 > YAML > should validate `train-travel.yaml` as valid: __tests__/index.test.js#L36
AssertionError: promise rejected "ResolverError: Error opening file "/home/… { …(5) }" instead of resolving ❯ __tests__/index.test.js:36:51 Caused by: ResolverError: Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md" ENOENT: no such file or directory, open '/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md' ❯ ReadFileContext.callback node_modules/@readme/json-schema-ref-parser/lib/resolvers/file.js:52:20 ❯ FSReqCallback.readFileAfterOpen [as oncomplete] node:fs:319:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERESOLVER', source: '/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md', path: null, toJSON: 'Function<toJSON>', ioErrorCode: 'ENOENT', footprint: 'null+/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md+ERESOLVER+Error opening file "/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md" \nENOENT: no such file or directory, open \'/home/runner/work/oas-examples/oas-examples/3.1/yaml/docs/getting-started.md\'' }
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.