Skip to content

Commit bab5a13

Browse files
committed
Separate action for check formatting
1 parent 28a82a2 commit bab5a13

3 files changed

Lines changed: 20 additions & 8 deletions

File tree

.github/workflows/check-format.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check Formatting of JS/CSS/HTML and Markdown
2+
3+
on:
4+
push:
5+
branches:
6+
tags:
7+
pull_request:
8+
merge_group:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check formatting with prettier
15+
uses: creyD/prettier_action@v4.6
16+
with:
17+
dry: true
18+
prettier_options: "--check ."
19+
prettier_version: 3.7.4

.github/workflows/ci.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,3 @@ jobs:
218218
html-manual.zip \
219219
--title "Release ${{ github.ref_name }}" \
220220
--notes "Automated release for ${{ github.ref_name }}"
221-
222-
- name: Check formatting with prettier
223-
uses: creyD/prettier_action@v4.6
224-
with:
225-
dry: true
226-
prettier_options: "--check ."
227-
prettier_version: 3.7.4
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Format JS/CSS/HTML and Markdown with Prettier
1+
name: Format JS/CSS/HTML and Markdown
22

33
on:
44
workflow_dispatch:

0 commit comments

Comments
 (0)