Skip to content

Commit

Permalink
Udpates prettier CI to check instead of list different
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronzi committed Aug 8, 2024
1 parent 2a06da8 commit 91a0bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: prettier-run
run: |
echo "prettier-output<<EOF" >> $GITHUB_ENV
prettier --list-different --config ./.prettierrc --ignore-path ./.prettierignore --no-error-on-unmatched-pattern **/*.ts **/*.vue **/*.json **/*.js | tee -a $GITHUB_ENV
prettier --check --config ./.prettierrc --ignore-path ./.prettierignore --no-error-on-unmatched-pattern **/*.ts **/*.vue **/*.json **/*.js | tee -a $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Prettier Output
Expand Down

0 comments on commit 91a0bff

Please sign in to comment.