Skip to content

Commit

Permalink
ci(pullRequest): check formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
monholm committed Mar 31, 2023
1 parent 00a93d8 commit 5229213
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ jobs:
- name: TsCheck
run: yarn tscheck

- name: Check formatting
run: yarn format-check

- name: Test
run: yarn test
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Add files here to ignore them from prettier formatting

CHANGELOG.md
example/ios/example/Images.xcassets
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"lint": "eslint . --max-warnings 0",
"tscheck": "tsc --noEmit",
"format-check": "prettier --check .",
"build": "tsc --project tsconfig.build.json",
"test": "jest",
"prepare": "husky install",
Expand Down

0 comments on commit 5229213

Please sign in to comment.