mirror of
https://github.com/doocs/advanced-java.git
synced 2025-03-14 10:00: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:
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: github.repository == 'doocs/advanced-java'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -15,7 +15,7 @@ jobs:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Prettify code
|
||||
uses: creyD/prettier_action@v3.0
|
||||
uses: creyD/prettier_action@v3.2
|
||||
with:
|
||||
prettier_options: --write **/*.{html,js,md}
|
||||
commit_message: 'style: prettify code'
|
||||
|
Loading…
Reference in New Issue
Block a user