diff --git a/.github/workflows/test-update-schema.yaml b/.github/workflows/test-update-schema.yaml index e7840c5..718cc21 100644 --- a/.github/workflows/test-update-schema.yaml +++ b/.github/workflows/test-update-schema.yaml @@ -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 diff --git a/.github/workflows/update-schema.yaml b/.github/workflows/update-schema.yaml index 5ebb429..7631854 100644 --- a/.github/workflows/update-schema.yaml +++ b/.github/workflows/update-schema.yaml @@ -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