Skip to content

Commit 6c7562b

Browse files
committed
Add prettier workflow
1 parent 2dc3d43 commit 6c7562b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/prettier.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Run Prettier
2+
3+
on:
4+
push:
5+
branches: [main, enes/prettier]
6+
7+
jobs:
8+
prettier:
9+
runs-on: ubicloud-standard-4
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
cache: 'npm'
17+
18+
- run: npm ci
19+
20+
- run: npx prettier . --write
21+
22+
- run: git diff --exit-code

0 commit comments

Comments
 (0)