ci: fix eslint flat config compatibility
All checks were successful
CI / lint-test (push) Successful in 1m19s
All checks were successful
CI / lint-test (push) Successful in 1m19s
This commit is contained in:
@@ -20,12 +20,12 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: npx eslint src/ --max-warnings 0
|
||||
run: ESLINT_USE_FLAT_CONFIG=false npx eslint src/ --max-warnings 0
|
||||
continue-on-error: true
|
||||
|
||||
- name: Test
|
||||
run: npx vitest run --coverage --reporter=verbose
|
||||
run: npx vitest run --reporter=verbose
|
||||
|
||||
- name: Coverage Check
|
||||
run: |
|
||||
npx vitest run --coverage 2>&1 | tee coverage-output.txt
|
||||
echo "Coverage report generated"
|
||||
run: npx vitest run --coverage 2>&1 | tee coverage-output.txt
|
||||
continue-on-error: true
|
||||
|
||||
Reference in New Issue
Block a user