fix printing false instead of empty-string on runner-debug check

This commit is contained in:
flx-sta 2024-09-10 12:25:55 -07:00
parent 94495320ca
commit f0fda3854f
2 changed files with 2 additions and 2 deletions

View File

@ -23,4 +23,4 @@ jobs:
- name: Install Node.js dependencies
run: npm ci
- name: Run ${{ inputs.project }} tests
run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' }}
run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' || '' }}

View File

@ -32,7 +32,7 @@ jobs:
run: npm ci
- name: Run Pre-test
working-directory: tests-action
run: npx vitest run --project pre ${{ !runner.debug && '--silent' }}
run: npx vitest run --project pre ${{ !runner.debug && '--silent' || '' }}
run-tests:
name: Run Tests