Skip to content

Commit f476c63

Browse files
CopilotPhantomDave
andcommitted
Add codegen step to frontend CI/CD workflow
The generated GraphQL types are in .gitignore and need to be generated during CI/CD. Added npm run codegen step before TypeScript compilation and build to ensure the generated files exist. Co-authored-by: PhantomDave <34485699+PhantomDave@users.noreply.github.com>
1 parent 18d73f2 commit f476c63

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/frontend.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
working-directory: ./frontend
3535
run: npm ci
3636

37+
- name: Generate GraphQL types
38+
working-directory: ./frontend
39+
run: npm run codegen
40+
3741
- name: Check TypeScript compilation
3842
working-directory: ./frontend
3943
run: npx tsc --noEmit

0 commit comments

Comments
 (0)