Skip to content

Commit

Permalink
Merge pull request #9 from MiSArch/feature/graphql-schema-transformation
Browse files Browse the repository at this point in the history
configure schema transformation
  • Loading branch information
nk-coding authored Mar 27, 2024
2 parents 900a9e2 + 716a28a commit 1180516
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-update-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ jobs:
run: |
sudo apt install -y protobuf-compiler
cargo run -- --generate-schema
- uses: misarch/graphql-schema-transform@v1
with:
schema: schemas/shoppingcart.graphql
target: schemas/shoppingcart.graphql
4 changes: 4 additions & 0 deletions .github/workflows/update-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
run: |
sudo apt install -y protobuf-compiler
cargo run -- --generate-schema
- uses: misarch/graphql-schema-transform@v1
with:
schema: schemas/shoppingcart.graphql
target: schemas/shoppingcart.graphql
- uses: peter-evans/create-pull-request@v5
with:
path: ./schemas
Expand Down

0 comments on commit 1180516

Please sign in to comment.