Skip to content

Commit

Permalink
Added prettier-ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
samadpls authored Mar 1, 2024
1 parent f1321b2 commit ae38579
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/prettier-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Prettier CI

on:
pull_request:
paths:
- '**/*.{ts,tsx}'
jobs:
prettier-check:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: '20'

- name: Install Prettier
run: npm install --save-dev prettier

- name: Run Prettier Check
run: npx prettier --check .

0 comments on commit ae38579

Please sign in to comment.