From 821a0c253c5a7854d2998b930dccbb8406f60a48 Mon Sep 17 00:00:00 2001 From: Rikki Schulte Date: Tue, 28 Jan 2020 15:09:12 -0600 Subject: [PATCH] chore: tweak ci for cypress --- .github/workflows/ci.yml | 3 +- ] | 32 +++++++++++++++++++ .../src/GraphQLLanguageService.ts | 2 -- 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 ] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 369c1420ced..39735af9e44 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,13 +2,14 @@ name: Node.JS CI on: [push] jobs: test: - runs-on: ubuntu-latest name: lint & test + runs-on: ubuntu-16.04 steps: - uses: actions/checkout@v1 - uses: bahmutov/npm-install@v1 - run: yarn ci e2e: + name: cypress runs-on: ubuntu-16.04 steps: - uses: actions/checkout@v1 diff --git a/] b/] new file mode 100644 index 00000000000..8d9eda37670 --- /dev/null +++ b/] @@ -0,0 +1,32 @@ +chore: tweak ci for cypress + +# Please enter the commit message for your changes. Lines starting +# with '#' will be ignored, and an empty message aborts the commit. +# +# Date: Tue Jan 28 15:09:12 2020 -0600 +# +# On branch symbol-support +# Your branch is up to date with 'origin/symbol-support'. +# +# Changes to be committed: +# modified: .github/workflows/ci.yml +# +# ------------------------ >8 ------------------------ +# Do not modify or remove the line above. +# Everything below it will be ignored. +diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml +index 6cad64f..3831a0c 100644 +--- a/.github/workflows/ci.yml ++++ b/.github/workflows/ci.yml +@@ -9,9 +9,10 @@ jobs: + - uses: bahmutov/npm-install@v1 + - run: yarn ci + e2e: +- runs-on: ubuntu-latest ++ runs-on: ubuntu-16.04 + name: cypress + steps: + - uses: actions/checkout@v1 + - uses: bahmutov/npm-install@v1 ++ - uses: cypress-io/github-action@v1 + - run: yarn ci-e2e diff --git a/packages/graphql-language-service-interface/src/GraphQLLanguageService.ts b/packages/graphql-language-service-interface/src/GraphQLLanguageService.ts index ee4d7c247b4..5fe449541dc 100644 --- a/packages/graphql-language-service-interface/src/GraphQLLanguageService.ts +++ b/packages/graphql-language-service-interface/src/GraphQLLanguageService.ts @@ -11,7 +11,6 @@ import { DocumentNode, FragmentSpreadNode, FragmentDefinitionNode, - OperationDefinitionNode, TypeDefinitionNode, NamedTypeNode, ValidationRule, @@ -33,7 +32,6 @@ import { // import { Position } from 'graphql-language-service-utils'; import { Hover, - DiagnosticSeverity, SymbolInformation, SymbolKind, } from 'vscode-languageserver-types';