From adf1d260c33db6c1a0d04837dff30c1c54c3fb36 Mon Sep 17 00:00:00 2001 From: Sebastian Webster Date: Tue, 28 Feb 2023 17:42:04 +1300 Subject: [PATCH] use working-directory instead of cd --- .github/workflows/testing.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 2fc4152..c855672 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -25,10 +25,13 @@ jobs: node-version: ${{ matrix.node-version }} - name: npm install for tests folder - run: cd tests && npm install + working-directory: tests + run: npm install - name: npm install for backend folder - run: cd backend && npm install + working-directory: backend + run: npm install - name: Run tests - run: cd tests && node tests + working-directory: tests + run: node tests