We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d57630 commit 4aa758dCopy full SHA for 4aa758d
.github/workflows/upload-schema-artifact.yml
@@ -67,11 +67,10 @@ jobs:
67
command: |
68
npm run wp-env start -- --update ${{ secrets.ACTIONS_STEP_DEBUG && '--debug' || '' }}
69
70
- - name: Generate the Static Schema
+ - name: Generate GraphQL schema
71
run: |
72
- cd /tmp/wordpress/
73
- # Output: /tmp/schema.graphql
74
- wp graphql generate-static-schema
+ npm run wp-env -- run cli --env-cwd=wp-content/plugins/wp-graphql-gravity-forms wp graphql generate-static-schema --output=tests/_output/schema.graphql
+ echo "Schema generated: $(wc -l < tests/_output/schema.graphql) lines"
75
76
- name: Upload schema as release artifact
77
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
0 commit comments