Skip to content

Commit 787d539

Browse files
committed
Add formatting chcek to workflows.
1 parent d93d7b4 commit 787d539

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/formatting.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Check Formatting
2+
3+
on:
4+
push:
5+
branches:
6+
- ep2025
7+
pull_request:
8+
9+
jobs:
10+
format-check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Set up pnpm
17+
uses: pnpm/action-setup@v4
18+
with:
19+
run_install: false
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: "pnpm"
26+
27+
- name: Install dependencies
28+
run: make install
29+
30+
- name: Check Formatting
31+
run: pnpm format --check

0 commit comments

Comments
 (0)