File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 44#
55version : 2.1
66jobs :
7- test :
7+ test-and-build :
88 parameters :
9- graphql-version :
9+ graphql-test- version :
1010 type : string
11+ default : " "
1112
1213 docker :
1314 # specify the version you desire here
2526 # fallback to using the latest cache if no exact match is found
2627 - v1-dependencies-
2728
28- - run : yarn install --ignore-scripts
29-
30- - run : yarn --ignore-scripts add --dev graphql@<< parameters.graphql-version >>
29+ - when :
30+ condition : << parameters.graphql-test-version >>
31+ steps :
32+ - run : yarn install --ignore-scripts
33+ - run : yarn --ignore-scripts add --dev graphql@<< parameters.graphql-version >>
34+ - unless :
35+ condition : << parameters.graphql-test-version >>
36+ steps :
37+ - run : yarn install --frozen-lockfile
3138
3239 - save_cache :
3340 paths :
4047workflows :
4148 all-tests :
4249 jobs :
43- - test :
50+ - test-and-build :
51+ name : " Test graphql version"
4452 matrix :
4553 parameters :
46- graphql-version : ["~0.13", "~14.0", "~14.5", "~14.6"]
54+ graphql-test-version : ["~0.13", "~14.0", "~14.5", "~14.6"]
55+ - test-and-build :
56+ name : test-and-build-with-typecheck
You can’t perform that action at this time.
0 commit comments