mirror of
https://github.com/doocs/advanced-java.git
synced 2025-03-22 10:40:05 +08:00
chore: upgrade prettier version
This commit is contained in:
parent
c957b887e7
commit
a2b93f88d4
4
.github/workflows/prettier.yml
vendored
4
.github/workflows/prettier.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'doocs/advanced-java'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
- name: Prettify code
|
- name: Prettify code
|
||||||
uses: creyD/prettier_action@v3.0
|
uses: creyD/prettier_action@v3.2
|
||||||
with:
|
with:
|
||||||
prettier_options: --write **/*.{html,js,md}
|
prettier_options: --write **/*.{html,js,md}
|
||||||
commit_message: 'style: prettify code'
|
commit_message: 'style: prettify code'
|
||||||
|
Loading…
Reference in New Issue
Block a user