Skip to content

Commit a081ee6

Browse files
committed
Add prettier workflow
1 parent 2dc3d43 commit a081ee6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/prettier.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
node-version: latest
17+
cache: npm
18+
19+
- run: npm ci
20+
21+
- run: npx prettier . --write
22+
23+
- run: git diff --exit-code

0 commit comments

Comments
 (0)