Skip to content

Commit 0b71839

Browse files
committed
Simplify
1 parent 7361ce9 commit 0b71839

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ jobs:
2929
node-version-file: .node-version
3030

3131
- name: Use GraphQL v15
32-
run: node ./scripts/match-graphql.js 15
33-
- name: Force GraphQL v15 in node_modules
34-
run:
35-
npm install --ignore-engines && git checkout package-lock.json && npx rimraf
36-
packages/**/*/node_modules/graphql
32+
run: |
33+
node ./scripts/match-graphql.js 15
34+
npm install --ignore-engines
35+
git checkout package-lock.json
36+
npx rimraf packages/**/*/node_modules/graphql
37+
npx rimraf packages/executor/node_modules/graphql
3738
- name: Type Check
3839
run: npm run ts:check
3940
check:
@@ -83,11 +84,12 @@ jobs:
8384
node-version: ${{matrix.node-version}}
8485

8586
- name: Use GraphQL v${{matrix.graphql_version}}
86-
run: node ./scripts/match-graphql.js ${{matrix.graphql_version}}
87-
- name: Force GraphQL v${{matrix.graphql_version}} in node_modules
88-
run:
89-
npm install --ignore-engines && git checkout package-lock.json && npx rimraf
90-
packages/**/*/node_modules/graphql
87+
run: |
88+
node ./scripts/match-graphql.js ${{matrix.graphql_version}}
89+
npm install --ignore-engines
90+
git checkout package-lock.json
91+
npx rimraf packages/**/*/node_modules/graphql
92+
npx rimraf packages/executor/node_modules/graphql
9193
- name: Cache Jest
9294
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
9395
with:

0 commit comments

Comments
 (0)