Skip to content

Commit 8173d4c

Browse files
committed
CI/frontend: setup prettify check
1 parent d3ebfdd commit 8173d4c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/frontend.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,28 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14+
frontend-prettier-check:
15+
runs-on: ubuntu-24.04
16+
steps:
17+
- name: Git checkout
18+
uses: actions/checkout@v5
19+
with:
20+
sparse-checkout: |
21+
frontend
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: '23'
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
working-directory: frontend
31+
32+
- name: Check code formatting with Prettier
33+
run: make check-prettify
34+
working-directory: frontend
35+
1436
frontend-test:
1537
runs-on: ubuntu-24.04
1638
steps:

0 commit comments

Comments
 (0)