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
run: npm ci
- name: Run ${{ inputs.project }} tests
run: npx vitest --project ${{ inputs.project }} ${{ inputs.options }}
run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' }}

View File

@ -42,5 +42,4 @@ jobs:
project: [misc, abilities, items, moves, battle]
uses: ./.github/workflows/run-test-template.yml
with:
project: ${{ matrix.project }}
options: ${{ !runner.debug && '--silent' }}
project: ${{ matrix.project }}