Skip to content

Commit

Permalink
Add Prettier GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
luukee committed Aug 19, 2024
1 parent 5045baa commit e17eec2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Prettier Check

on: [push, pull_request]

jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm install
- run: npm run format -- --check

0 comments on commit e17eec2

Please sign in to comment.