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