mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
try using working-dir
This commit is contained in:
parent
b7d7b2bb86
commit
c31c4c3ac1
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@ -21,13 +21,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
path: tests-action
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
|
working-directory: tests-action
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run Pre-test
|
- 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:
|
run-tests:
|
||||||
@ -37,7 +41,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
project: [misc, abilities, items, moves, battle]
|
project: [misc, abilities, items, moves, battle]
|
||||||
steps:
|
uses: ./.github/workflows/run-test-template.yml
|
||||||
- uses: ./.github/workflows/run-test-template.yml
|
with:
|
||||||
with:
|
project: ${{ matrix.project }}
|
||||||
project: ${{ matrix.project }}
|
|
Loading…
Reference in New Issue
Block a user