Skip to content

Commit

Permalink
Create prettier.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
reesaldle-dev authored Jan 14, 2025
1 parent 81aff8f commit 0727ebe
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Prettier Check

on:
push:
branches:
- main
pull_request:

jobs:
prettier-check:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies
run: npm install

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

0 comments on commit 0727ebe

Please sign in to comment.