Skip to content

Commit e1b6d54

Browse files
KyleAMathewsclaude
andauthored
Run ESLint only in autofix tests (#881)
ci: run ESLint only in autofix workflow - Removed ESLint from PR workflow's test job to reduce CI runtime - Added ESLint to autofix workflow where fixes can be automatically applied - ESLint will now only run in the autofix CI tests, not in other tests Co-authored-by: Claude <[email protected]>
1 parent 788b637 commit e1b6d54

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/autofix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
uses: tanstack/config/.github/setup@main
2626
- name: Fix formatting
2727
run: pnpm prettier --ignore-unknown . --check
28+
- name: Run ESLint
29+
run: pnpm run lint
2830
- name: Apply fixes
2931
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
3032
with:

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
main-branch-name: main
3535
- name: Run Checks
36-
run: pnpm run lint && pnpm run build && pnpm run test
36+
run: pnpm run build && pnpm run test
3737
preview:
3838
name: Preview
3939
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)