Skip to content

feat/migrate-to-tailwind-v4 #739

feat/migrate-to-tailwind-v4

feat/migrate-to-tailwind-v4 #739

Workflow file for this run

name: Formating validation
on: [ pull_request_target ]
jobs:
prettier:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Run Prettier
id: prettier-run
uses: rutajdash/[email protected]
with:
config_path: ./.prettierrc
file_pattern: "*.{js,jsx,ts,tsx,json}"
# This step only runs if prettier finds errors causing the previous step to fail
# This steps lists the files where errors were found
- name: Prettier Output
if: ${{ failure() }}
shell: bash
run: |
echo "The following files aren't formatted properly:"
echo "${{steps.prettier-run.outputs.prettier_output}}"