use 1 instead of '1' to check runner.debug

This commit is contained in:
flx-sta 2024-09-10 11:26:00 -07:00
parent 108f3e37e5
commit 53a22a3c9f
2 changed files with 2 additions and 2 deletions

View File

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

View File

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