File tree 1 file changed +24
-2
lines changed
1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 6
6
- dev-2.x
7
7
8
8
jobs :
9
- validate-gtfs :
9
+ validate-gtfs-schema :
10
10
if : github.repository_owner == 'opentripplanner'
11
- name : Validate GraphQL schema changes
11
+ name : Validate GTFS GraphQL schema changes
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
31
31
- name : Validate GTFS GraphQL schema changes
32
32
run : |
33
33
graphql-inspector diff 'git:origin/dev-2.x:application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls' 'application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls'
34
+
35
+ validate-transmodel-schema :
36
+ if : github.repository_owner == 'opentripplanner'
37
+ name : Validate Transmodel GraphQL schema changes
38
+ runs-on : ubuntu-latest
39
+
40
+ steps :
41
+ - name : Checkout
42
+ uses : actions/checkout@v4
43
+
44
+ - name : ' Fetch dev.2.x for diffing'
45
+ run : |
46
+ git fetch origin dev-2.x --depth 1
47
+
48
+
49
+ - uses : actions/setup-node@v4
50
+ with :
51
+ node-version : 22
52
+
53
+ - name : Install GraphQL Inspector
54
+ run : |
55
+ npm i --global @graphql-inspector/ci graphql @graphql-inspector/diff-command @graphql-inspector/graphql-loader @graphql-inspector/git-loader
34
56
35
57
- name : Validate Transmodel GraphQL schema changes
36
58
run : |
You can’t perform that action at this time.
0 commit comments