From 53a22a3c9f1398ff7f2febe162d43645581070cc Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Tue, 10 Sep 2024 11:26:00 -0700 Subject: [PATCH] use `1` instead of `'1'` to check `runner.debug` --- .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 f4831d6c393..c8779f020fc 100644 --- a/.github/workflows/run-test-template.yml +++ b/.github/workflows/run-test-template.yml @@ -20,4 +20,4 @@ jobs: - name: Install Node.js dependencies run: npm ci - 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' }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4e032bf1ca0..1d2cd2567f1 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 == '1' && '' || '--silent' }} + run: npx vitest run --project pre ${{ runner.debug == 1 && '' || '--silent' }} run-tests: name: Run Tests