Skip to content

Commit

Permalink
Update formatter-web.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gellipapa authored Jan 21, 2024
1 parent ac3184a commit 622fb78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/formatter-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
id: check-prettier-format
if: ${{ inputs.any-changed-files-list == 'true' }}
run: |
npx prettier --config .prettierrc --check ${{ inputs.all-changed-files-list }}
npx prettier --config .prettierrc.json --check ${{ inputs.all-changed-files-list }}
continue-on-error: true

- name: Format changed files with Prettier
if: ${{ inputs.any-changed-files-list == 'true' && steps.check-prettier-format.outcome == 'failure' }}
run: |
npx prettier --config .prettierrc --write ${{ inputs.all-changed-files-list }}
npx prettier --config .prettierrc.json --write ${{ inputs.all-changed-files-list }}
- name: Generate formatted files list
id: generate-formatted-list
Expand Down

0 comments on commit 622fb78

Please sign in to comment.