forked from extern/easydiffusion
Print the diff
This commit is contained in:
parent
262a1464c3
commit
20d6e17d4d
11
.github/workflows/prettier.yml
vendored
11
.github/workflows/prettier.yml
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user