Skip to content

Commit 27d2ecd

Browse files
committed
chore: prettier workflow
1 parent e7fa768 commit 27d2ecd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/prettier.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Prettier
2+
on: push
3+
jobs:
4+
prettier:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout code
8+
uses: actions/checkout@v3
9+
with:
10+
fetch-depth: 0
11+
ref: ${{ github.head_ref }}
12+
- name: Run Prettier
13+
uses: creyD/[email protected]
14+
with:
15+
prettier_options: --write .
16+
same_commit: True

0 commit comments

Comments
 (0)