Skip to content

Commit 3e8478b

Browse files
committed
Simplify - test matrix without typechecking
1 parent 1bee736 commit 3e8478b

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.circleci/config.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
#
55
version: 2.1
66
jobs:
7-
build:
7+
test:
88
parameters:
9-
graphql-separate-types:
10-
type: boolean
119
graphql-version:
1210
type: string
1311

@@ -31,15 +29,6 @@ jobs:
3129

3230
- run: yarn --ignore-scripts add --dev graphql@<< parameters.graphql-version >>
3331

34-
- when:
35-
condition: << parameters.graphql-separate-types >>
36-
steps:
37-
- run: yarn --ignore-scripts add --dev @types/graphql@<< parameters.graphql-version >>
38-
- unless:
39-
condition: << parameters.graphql-separate-types >>
40-
steps:
41-
- run: yarn --ignore-scripts remove @types/graphql
42-
4332
- save_cache:
4433
paths:
4534
- node_modules
@@ -51,13 +40,7 @@ jobs:
5140
workflows:
5241
all-tests:
5342
jobs:
54-
- build:
55-
graphql-separate-types: false
56-
matrix:
57-
parameters:
58-
graphql-version: ["14.6.0"]
59-
- build:
60-
graphql-separate-types: true
43+
- test:
6144
matrix:
6245
parameters:
63-
graphql-version: ["0.13.0", "14.0.0", "14.5.0"]
46+
graphql-version: ["~0.13", "~14.0", "~14.5", "~14.6"]

0 commit comments

Comments
 (0)