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 be56500 commit 7163164
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/prettier_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Prettier Auto-Format
on:
push:
branches:
- master
- feat/add-prettier-format

jobs:
prettier:
Expand All @@ -13,11 +13,5 @@ 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: prettier --write .
run: docker run --rm -v $PWD:/app -w /app prettier/prettier:latest --write .

0 comments on commit 7163164

Please sign in to comment.