Skip to content

Commit

Permalink
add prettier CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperneutrino committed Jul 16, 2024
1 parent cf920ec commit 250dced
Show file tree
Hide file tree
Showing 2 changed files with 2,349 additions and 1,678 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Format Code
on:
pull_request:
push:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Prettier Action
uses: creyD/prettier_action@v4.3
with:
commit_message: "formatted code"
clean_node_folder: true
prettier_options: "--write {apps,packages}/**/*.*"
Loading

0 comments on commit 250dced

Please sign in to comment.