We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c6e29 commit 759eb18Copy full SHA for 759eb18
.github/workflows/prettier.yml
@@ -0,0 +1,25 @@
1
+name: Prettier
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - master
8
9
+jobs:
10
+ prettier:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2
16
+ with:
17
+ ref: ${{ github.head_ref }}
18
19
+ - name: Prettify code
20
+ uses: creyD/prettier_action@v3.0
21
22
+ prettier_options: --write **/*.{html,js,md}
23
+ commit_message: 'docs: prettify code'
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments