Skip to content

Commit

Permalink
🩹 check diff only in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Jul 12, 2024
1 parent 2036090 commit 6f5d2e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: npm run type-check
- name: check npm diff
id: diff
if: github.event_name == 'pull_request'
run: |
echo -n "$(npm diff ./dist)" > dist.diff
[ ! -s dist.diff ] && exit 0
Expand Down

0 comments on commit 6f5d2e2

Please sign in to comment.