Update prettier action + only look at webroot
This commit is contained in:
6
.github/workflows/javascript-formatting.yml
vendored
6
.github/workflows/javascript-formatting.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Prettify code
|
- name: Prettify code
|
||||||
uses: creyD/prettier_action@v3.1
|
uses: creyD/prettier_action@v3.3
|
||||||
with:
|
with:
|
||||||
# This part is also where you can pass other options, for example:
|
# 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
|
only_changed: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user