Update prettier workflow action
This commit is contained in:
4
web/.github/workflows/linter.yml
vendored
4
web/.github/workflows/linter.yml
vendored
@@ -12,11 +12,11 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
uses: creyD/prettier_action@v3.1
|
uses: creyD/prettier_action@v3.3
|
||||||
with:
|
with:
|
||||||
# This part is also where you can pass other options, for example:
|
# This part is also where you can pass other options, for example:
|
||||||
prettier_options: --write **/*.{js,tsx,jsx,css,scss}
|
prettier_options: --write **/*.{js,tsx,jsx,css,scss}
|
||||||
|
|||||||
Reference in New Issue
Block a user