add .prettierignore as ignore-path
This commit is contained in:
parent
b0a3996df4
commit
f12bbe3b9b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/pr_checks.yaml
vendored
4
.github/workflows/pr_checks.yaml
vendored
|
|
@ -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) }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue