Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs:graphql:generate #1526

Closed
BlairCurrey opened this issue Jun 28, 2023 · 0 comments · Fixed by #1554
Closed

Fix docs:graphql:generate #1526

BlairCurrey opened this issue Jun 28, 2023 · 0 comments · Fixed by #1554
Assignees
Labels
pkg: documentation Changes in the documentation package. tech debt Areas which require refactor and clean up type: bug Something isn't working type: ci Changes to the CI
Milestone

Comments

@BlairCurrey
Copy link
Contributor

Currently the documentation docs:graphql:generate points to the wrong directory (should be api-reference instead of reference). Additionally, we should add a CI step to check if anything was generated and fail if so. Similar to our graphql check:

graphql:
runs-on: ubuntu-22.04
needs: checkout
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/rafiki/env-setup
- name: generate backend graphql
run: pnpm --filter backend generate
- name: generate auth graphql
run: pnpm --filter auth generate
- name: verify changed files
uses: tj-actions/verify-changed-files@v14
id: verify-changed-files
with:
files: |
**/generated/graphql.*
- name: fail if GraphQL was generated
if: steps.verify-changed-files.outputs.files_changed == 'true'
run: exit 1

@BlairCurrey BlairCurrey added type: bug Something isn't working type: ci Changes to the CI tech debt Areas which require refactor and clean up pkg: documentation Changes in the documentation package. labels Jun 28, 2023
@github-project-automation github-project-automation bot moved this to Backlog in Rafiki Jun 28, 2023
@BlairCurrey BlairCurrey added this to the Tech Debt milestone Jun 28, 2023
@BlairCurrey BlairCurrey self-assigned this Jun 28, 2023
@BlairCurrey BlairCurrey moved this from Backlog to In Progress in Rafiki Jun 28, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Rafiki Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: documentation Changes in the documentation package. tech debt Areas which require refactor and clean up type: bug Something isn't working type: ci Changes to the CI
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant