From 683998b2633c4283e6df416069991de07bbdfbdb Mon Sep 17 00:00:00 2001 From: Aron Buzogany <108480125+AronBuzogany@users.noreply.github.com> Date: Sun, 18 Feb 2024 15:29:59 +0100 Subject: [PATCH] Update ci-tests.yml: setting working directory for steps --- .github/workflows/ci-tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 7b93954f..bf61720d 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -16,18 +16,19 @@ jobs: path: ~/.npm key: npm-${{ hashFiles('package-lock.json') }} restore-keys: npm- - - - name: Go to frontend directory - run: cd frontend - + - name: Install dependencies + working-directory: ./frontend run: npm i - name: Build + working-directory: ./frontend run: npm run build - name: Preview Web App + working-directory: ./frontend run: npm run preview & - name: Running tests + working-directory: ./frontend run: npm test