Skip to content

Commit

Permalink
add prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NiHaiden committed Jan 13, 2025
1 parent a39bd0d commit fbb3ec8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build:
name: Check highlighting with Prettier
name: Check and format content with Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -20,3 +20,8 @@ jobs:

- name: Check syntax with prettier
run: /usr/local/bin/prettier --check .

- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write .

0 comments on commit fbb3ec8

Please sign in to comment.