From 319f20e8c3fabc3c4dbc1792b619b26701e43321 Mon Sep 17 00:00:00 2001 From: Kacper Nadstoga Date: Thu, 21 Dec 2023 22:08:06 +0100 Subject: [PATCH] fix yaml file for GH actions --- .github/workflows/frontendWorkflowTests.yaml | 26 ++++++++++++-------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/frontendWorkflowTests.yaml b/.github/workflows/frontendWorkflowTests.yaml index fe347d8..ac3a15f 100644 --- a/.github/workflows/frontendWorkflowTests.yaml +++ b/.github/workflows/frontendWorkflowTests.yaml @@ -17,13 +17,19 @@ jobs: uses: actions/checkout@v3 with: node-version: '18.16.x' - - name: Go to Frontend Dir - run: cd ./frontend - - name: Install Dependencies - run: npm ci - - name: Run Tests - run: npm run test - - name: Run Eslint - run: npm run lint - - name: Check build project - run: npm run build \ No newline at end of file + - name: Install dependencies + run: | + cd ./frontend + npm run ci + - name: Run Frontend Unit Tests + run: | + cd ./frontend + npm run test + - name: Run Linter + run: | + cd ./frontend + npm run lint + - name: Build project + run: | + cd ./frontend + npm run build \ No newline at end of file