Skip to content

Commit

Permalink
Merge branch 'develop' into bug/upgrade_jest_@types/jest
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshugupta54 authored Nov 7, 2024
2 parents b81f437 + 3f6b41a commit 24e2088
Show file tree
Hide file tree
Showing 17 changed files with 2,224 additions and 468 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@ jobs:
- name: Get changed TypeScript files
id: changed-files
uses: tj-actions/changed-files@v40

- name: Check formatting
if: steps.changed-files.outputs.only_changed != 'true'
run: npm run format:check

- name: Run formatting if check fails
if: failure()
run: npm run format

- name: Check for type errors
if: steps.changed-files.outputs.only_changed != 'true'
Expand Down Expand Up @@ -260,4 +263,3 @@ jobs:
run: |
echo "Error: Pull request target branch must be 'develop'. Please refer PR_GUIDELINES.md"
exit 1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# npm run format:fix
npm run format:fix
# npm run lint:fix
npm run lint-staged
npm run typecheck
Expand Down
Loading

0 comments on commit 24e2088

Please sign in to comment.