From f0fda3854f8c5c3847201aa6043239df6ef00011 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Tue, 10 Sep 2024 12:25:55 -0700 Subject: [PATCH] fix printing `false` instead of empty-string on runner-debug check --- .github/workflows/run-test-template.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-test-template.yml b/.github/workflows/run-test-template.yml index 94af98f7866..fe694382b76 100644 --- a/.github/workflows/run-test-template.yml +++ b/.github/workflows/run-test-template.yml @@ -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' || '' }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e5184252b2..80538f90849 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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