Browse Source

Update prettier action + only look at webroot

pull/753/head
Gabe Kangas 5 years ago committed by GitHub
parent
commit
3ae6f82701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/javascript-formatting.yml

6
.github/workflows/javascript-formatting.yml

@ -20,10 +20,10 @@ jobs: @@ -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 }}

Loading…
Cancel
Save