@@ -25,10 +25,10 @@ jobs:
2525        uses : actions/cache@v3 
2626        with :
2727          path : ' **/node_modules' 
28-           key : ${{runner.os}}-16-8- 16-node-modules-${{hashFiles('yarn.lock')}} 
28+           key : ${{runner.os}}-16-16-node-modules-${{hashFiles('yarn.lock')}} 
2929          restore-keys : | 
30-             ${{runner.os}}-16-8- 16-node-modules-${{hashFiles('yarn.lock')}} 
31-             ${{runner.os}}-16-8- 16-node-modules- 
30+             ${{runner.os}}-16-16-node-modules-${{hashFiles('yarn.lock')}} 
31+             ${{runner.os}}-16-16-node-modules- 
3232
3333       - name : Install Dependencies 
3434        run : yarn 
@@ -58,10 +58,10 @@ jobs:
5858        uses : actions/cache@v3 
5959        with :
6060          path : ' **/node_modules' 
61-           key : ${{runner.os}}-16-8- ${{matrix.graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
61+           key : ${{runner.os}}-16-${{matrix.graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
6262          restore-keys : | 
63-             ${{runner.os}}-16-8- ${{matrix.graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
64-             ${{runner.os}}-16-8- ${{matrix.graphql_version}}-node-modules- 
63+             ${{runner.os}}-16-${{matrix.graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
64+             ${{runner.os}}-16-${{matrix.graphql_version}}-node-modules- 
6565
6666       - name : Use GraphQL v${{matrix.graphql_version}} 
6767        run : node ./scripts/match-graphql.mjs ${{matrix.graphql_version}} 
@@ -79,14 +79,13 @@ jobs:
7979          path : packages/plugin/dist 
8080
8181  test :
82-     name : Testing on Node ${{matrix.node_version}} with ESLint  v${{matrix.eslint_version }} and GraphQL v${{matrix.graphql_version}}  
82+     name : Testing on Node ${{matrix.node_version}} with GraphQL  v${{matrix.graphql_version }} and ESLint v8  
8383    timeout-minutes : 60 
8484    runs-on : ubuntu-latest 
8585    needs : [typecheck] 
8686    strategy :
8787      matrix :
8888        node_version : [12, 16] 
89-         eslint_version : [7.32.0, 8] 
9089        graphql_version : [15, 16] 
9190
9291    steps :
@@ -104,28 +103,25 @@ jobs:
104103        uses : actions/cache@v3 
105104        with :
106105          path : ' **/node_modules' 
107-           key : ${{runner.os}}-${{matrix.node_version}}-${{matrix.eslint_version}}-${{matrix. graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
106+           key : ${{runner.os}}-${{matrix.node_version}}-${{matrix.graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
108107          restore-keys : | 
109-             ${{runner.os}}-${{matrix.node_version}}-${{matrix.eslint_version}}-${{matrix. graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
110-             ${{runner.os}}-${{matrix.node_version}}-${{matrix.eslint_version}}-${{matrix. graphql_version}}-node-modules- 
108+             ${{runner.os}}-${{matrix.node_version}}-${{matrix.graphql_version}}-node-modules-${{hashFiles('yarn.lock')}} 
109+             ${{runner.os}}-${{matrix.node_version}}-${{matrix.graphql_version}}-node-modules- 
111110
112111       - name : Use GraphQL v${{matrix.graphql_version}} 
113112        run : node scripts/match-graphql.mjs ${{matrix.graphql_version}} 
114113
115-       - name : Use ESLint v${{matrix.eslint_version}} 
116-         run : node scripts/match-eslint.mjs ${{matrix.eslint_version}} 
117- 
118114      - name : Install Dependencies 
119115        run : yarn 
120116
121117      - name : Cache Jest 
122118        uses : actions/cache@v3 
123119        with :
124120          path : .cache/jest 
125-           key : ${{runner.os}}-${{matrix.node_version}}-${{matrix.eslint_version}}- jest-${{hashFiles('yarn.lock')}} 
121+           key : ${{runner.os}}-${{matrix.node_version}}-jest-${{hashFiles('yarn.lock')}} 
126122          restore-keys : | 
127-             ${{runner.os}}-${{matrix.node_version}}-${{matrix.eslint_version}}- jest-${{hashFiles('yarn.lock')}} 
128-             ${{runner.os}}-${{matrix.node_version}}-${{matrix.eslint_version}}- jest- 
123+             ${{runner.os}}-${{matrix.node_version}}-jest-${{hashFiles('yarn.lock')}} 
124+             ${{runner.os}}-${{matrix.node_version}}-jest- 
129125
130126       #  We need build for examples.spec.ts test
131127      #  Otherwise we'll get error - Cannot find module 'node_modules/@graphql-eslint/eslint-plugin/dist/index.js'
0 commit comments