Skip to content

Commit

Permalink
fix(ci): use npm script instead of global prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanAyaz committed Aug 28, 2023
1 parent e2b38f6 commit bc64c54
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ jobs:
with:
node-version: 16.x

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

- name: Check Format
run: |
prettier -c "./**/*.{js,css,json}"
npm run check-format

0 comments on commit bc64c54

Please sign in to comment.