Skip to content

Commit

Permalink
fix workflows failing of TS and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 authored Nov 25, 2024
1 parent 6ae40a3 commit 7aca951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
run: npm run typecheck

- name: Check for linting errors in modified files
if: steps.changed-files.outputs.only_changed != 'true'
if: steps.changed_files.outputs.only_changed != 'true'
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
CHANGED_FILES: ${{ steps.changed_files.outputs.all_changed_files }}
run: npx eslint ${CHANGED_FILES} && python .github/workflows/eslint_disable_check.py

- name: Check for TSDoc comments
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:

- name: TypeScript compilation for changed files
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
for file in ${{ steps.changed-files.outputs.all_files }}; do
if [[ "$file" == *.ts || "$file" == *.tsx ]]; then
npx tsc --noEmit "$file"
fi
Expand Down

0 comments on commit 7aca951

Please sign in to comment.