Update prettier action + only look at webroot

This commit is contained in:
Gabe Kangas 2021-02-21 11:02:51 -08:00 committed by GitHub
parent 106dfc0ff0
commit 3ae6f82701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,10 +20,10 @@ jobs:
fetch-depth: 0
- name: Prettify code
uses: creyD/prettier_action@v3.1
uses: creyD/prettier_action@v3.3
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md}
prettier_options: --write webroot/**/*.{js,md}
only_changed: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}