Skip to content

Commit

Permalink
ci: init code-format.yml
Browse files Browse the repository at this point in the history
- Check code format using prettier
  • Loading branch information
yinanazhou committed Jul 1, 2024
1 parent 6b3e6c8 commit c253e5c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/code-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: check-format
on: [push, pull_request]
jobs:
format-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Prettier
run: npx prettier --check "**/*.ts" "**/*.css" "**/*.html"

0 comments on commit c253e5c

Please sign in to comment.