Skip to content

Commit c3df3f1

Browse files
committed
Add formatting check CI
1 parent 4346e6b commit c3df3f1

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: Continuous Integration
2+
3+
# This action works with pull requests and pushes
4+
on:
5+
pull_request:
6+
push:
7+
branches:
8+
- master
9+
10+
jobs:
11+
prettier:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Check code style
19+
uses: creyD/[email protected]
20+
with:
21+
dry: true
22+
working_directory: hugo/
23+
prettier_options: --check

0 commit comments

Comments
 (0)