mirror of
https://github.com/Tinkoff/career.git
synced 2025-12-06 03:26:57 +03:00
Update linter.yml
This commit is contained in:
6
.github/workflows/linter.yml
vendored
6
.github/workflows/linter.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user