Skip to content

Commit 6c71e9b

Browse files
committed
run prettier in lint action
1 parent 999443d commit 6c71e9b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/lint.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 18
18+
cache: 'npm'
19+
1520
- name: Set up Python 3.11
1621
uses: actions/setup-python@v5
1722
with:
@@ -23,4 +28,6 @@ jobs:
2328
python -m pip install pre-commit
2429
2530
- name: Run pre-commit
26-
run: pre-commit run --all-files
31+
run: |
32+
pre-commit run --all-files
33+
npx prettier . --check

0 commit comments

Comments
 (0)