From 3ae6f827013902576f19933b0e38fd21d144cb43 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 21 Feb 2021 11:02:51 -0800 Subject: [PATCH] Update prettier action + only look at webroot --- .github/workflows/javascript-formatting.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/javascript-formatting.yml b/.github/workflows/javascript-formatting.yml index 040f490df..70d61b1f3 100644 --- a/.github/workflows/javascript-formatting.yml +++ b/.github/workflows/javascript-formatting.yml @@ -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 }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}