Skip to content

Commit

Permalink
Build spectaql on circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Premwoik committed Jul 11, 2022
1 parent 2aec7c4 commit 8c5be47
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,15 @@ jobs:
docs_build_deploy:
parallelism: 1
docker:
- image: cimg/python:3.9.0
- image: cimg/python:3.9.0-node
steps:
- checkout
- run:
name: Build GraphQL static docs
command: |
npm install --prefix=$HOME/.local --global spectaql
npx spectaql -t doc/graphql-api -f admin-graphql-doc.html doc/graphql-api/Admin-GraphQL_spectaql.yml
npx spectaql -C -J -t doc/graphql-api -f user-graphql-doc.html doc/graphql-api/User-GraphQL_spectaql.yml
- run:
name: Test that docs build
command: |
Expand Down

0 comments on commit 8c5be47

Please sign in to comment.