Skip to content

Commit

Permalink
ci: add step to detect generation required
Browse files Browse the repository at this point in the history
  • Loading branch information
zekth committed Aug 8, 2021
1 parent c491a0d commit 9bdd89e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm run test
- name: Detect Generation needed Dist
run: |
npm run build
git diff --exit-code --quiet ./dist && echo "No changes detected. Ok." || echo "Changes detected. Please run npm run build"
automerge:
needs: build
Expand Down

0 comments on commit 9bdd89e

Please sign in to comment.