Skip to content

Commit

Permalink
chore: Catch untracked codegen files (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenh authored Dec 9, 2024
1 parent e92d9dc commit bdbee02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
run: ./integration/pbjs.sh
- name: Codegen
run: yarn proto2ts
# This will fail if any git-tracked file has changed
# This will fail if any git-tracked file have changed
- name: Diff Output
run: git status && git diff --exit-code
run: |
git add .
git status && git diff --cached --exit-code
- name: test
run: yarn test
env:
Expand Down

0 comments on commit bdbee02

Please sign in to comment.