move 2nd ${{ !runner.debug && '--silent' }} check into test-template

This commit is contained in:
flx-sta 2024-09-10 12:24:09 -07:00
parent 88920ccdd6
commit 94495320ca
2 changed files with 2 additions and 3 deletions

View File

@ -23,4 +23,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 }} ${{ inputs.options }} run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' }}

View File

@ -43,4 +43,3 @@ jobs:
uses: ./.github/workflows/run-test-template.yml uses: ./.github/workflows/run-test-template.yml
with: with:
project: ${{ matrix.project }} project: ${{ matrix.project }}
options: ${{ !runner.debug && '--silent' }}