Skip to content

LSP Rewrite Step 2: refactor for @graphql-tools #434

LSP Rewrite Step 2: refactor for @graphql-tools

LSP Rewrite Step 2: refactor for @graphql-tools #434

Triggered via pull request March 17, 2024 09:10
Status Failure
Total duration 3m 29s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
Build: packages/graphql-language-service-server/src/parseDocument.ts#L13
'parse' is declared but its value is never read.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L323
Object is possibly 'undefined'.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L335
Type 'null' is not assignable to type 'IRange | undefined'.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L623
Property '[Symbol.toStringTag]' is missing in type '{ body: string; locationOffset: Location; name: string; }' but required in type 'Source'.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L628
Type '{ line: number; column: number; }' is missing the following properties from type 'Token': kind, start, end, value, and 4 more.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L632
Type '{ line: number; column: number; }' is missing the following properties from type 'Token': kind, start, end, value, and 4 more.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L849
Type 'CachedContent | { ast: DocumentNode; documentString: string; range: Range | null; }' is not assignable to type 'CachedContent'.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L853
Type 'Range | null' is not assignable to type 'IRange | undefined'.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L879
Type 'Range | null' is not assignable to type 'IRange | undefined'.
Build: packages/graphql-language-service-server/src/GraphQLCache.ts#L993
Argument of type '({ ast: DocumentNode | undefined; documentString: string; range: IRange | null; } | { ast: null; documentString: string; range: IRange | null; })[]' is not assignable to parameter of type 'CachedContent[]'.
Jest Unit & Integration Tests
Process completed with exit code 1.
Install
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check Licenses
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CSpell
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Prettier
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Jest Unit & Integration Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.