Skip to content

Commit

Permalink
feat: prettier workflow
Browse files Browse the repository at this point in the history
feat: prettier for all files
Signed-off-by: royalpinto007 <[email protected]>
  • Loading branch information
royalpinto007 committed Feb 1, 2024
1 parent d271478 commit 0a54e85
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Prettier

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install dependencies
run: npm install --global prettier
- name: Run Prettier
run: prettier --check .

0 comments on commit 0a54e85

Please sign in to comment.