Print the diff

This commit is contained in:
cmdr2 2023-04-29 07:40:24 +05:30
parent 262a1464c3
commit 20d6e17d4d

View File

@ -14,12 +14,7 @@ jobs:
with:
# prettier CLI arguments.
args: --print-width 120 --tab-width 4 --no-semi --arrow-parens always --trailing-comma es5 --write "./**/*.js"
- uses: GrantBirki/git-diff-action@vX.X.X
id: git-diff-action
- uses: technote-space/get-diff-action@v6
with:
json_diff_file_output: diff.json
raw_diff_file_output: diff.txt
- name: print raw diff
env:
DIFF: ${{ steps.git-diff-action.outputs.raw-diff-path }}
run: cat $DIFF
PATTERNS: |
+(ui)/**/*.js