Skip to content

Commit

Permalink
ci: add prettier to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mwskwong committed Feb 11, 2024
1 parent 87d7891 commit 799a381
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/prettify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Prettify Code
on: [pull_request, push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- run: npm ci
- run: npx prettier . --check

0 comments on commit 799a381

Please sign in to comment.