From c31c4c3ac13baa00f47e2d7be27d7238cd8412e1 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:47:21 -0700 Subject: [PATCH] try using working-dir --- .github/workflows/tests.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cdd9c719b66..83230d94da8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,13 +21,17 @@ jobs: steps: - name: Check out Git repository uses: actions/checkout@v4 + with: + path: tests-action - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: 20 - name: Install Node.js dependencies + working-directory: tests-action run: npm ci - name: Run Pre-test + working-directory: tests-action run: npx vitest run --project pre ${{ runner.debug == '1' && '' || '--silent' }} run-tests: @@ -37,7 +41,6 @@ jobs: strategy: matrix: project: [misc, abilities, items, moves, battle] - steps: - - uses: ./.github/workflows/run-test-template.yml - with: - project: ${{ matrix.project }} \ No newline at end of file + uses: ./.github/workflows/run-test-template.yml + with: + project: ${{ matrix.project }} \ No newline at end of file