add .prettierignore as ignore-path

This commit is contained in:
Nate 2025-05-25 18:34:12 -07:00
parent b0a3996df4
commit f12bbe3b9b

View file

@ -46,7 +46,7 @@ jobs:
key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }}
- name: Check code formatting with Prettier
run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path .gitignore
run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path .gitignore --ignore-path .prettierignore
install-config-yaml:
needs: install-root
@ -900,4 +900,4 @@ jobs:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
jobs: ${{ toJSON(needs) }}