From cfedd9306694a63c3b3b34632ccd29bd9d03875d Mon Sep 17 00:00:00 2001 From: MaslovIgor Date: Fri, 23 Jun 2023 22:48:26 +0300 Subject: [PATCH] Update linter.yml --- .github/workflows/linter.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 550fd87..40c95ee 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -26,9 +26,13 @@ jobs: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} fetch-depth: 0 + + - name: Install npm v8 + run: npm i -g npm@8 + - name: Prettier Action uses: creyD/prettier_action@v4.2 with: - prettier_options: --check **/*.{js,md} + prettier_options: --write **/*.{js,md} dry: true