Skip to content

Commit

Permalink
feat: add prettier action
Browse files Browse the repository at this point in the history
  • Loading branch information
Whisker17 committed Jul 27, 2023
1 parent 7163164 commit 0348f54
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/prettier_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@ jobs:
- name: Check Out Repository
uses: actions/checkout@v2

- name: Install Prettier
run: npm install prettier --global

- name: Display Prettier Version
run: prettier --version

- name: Run Prettier Auto-Format
run: docker run --rm -v $PWD:/app -w /app prettier/prettier:latest --write .
run: prettier --write .

0 comments on commit 0348f54

Please sign in to comment.