Update linter.yml

This commit is contained in:
MaslovIgor
2023-06-23 22:48:26 +03:00
parent cafaba9461
commit cfedd93066

View File

@@ -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