From 8084b8c404fd31b70599d5ed092a75dae37884dd Mon Sep 17 00:00:00 2001 From: Lica200 <134512122+Lica200@users.noreply.github.com> Date: Mon, 29 Apr 2024 16:57:00 +0200 Subject: [PATCH] DC-#125: Update frontend.yml --- .github/workflows/frontend.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index bb56be4..693a1d2 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -6,13 +6,20 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - run: npm ci - - run: npm run build --if-present - - run: npm test + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install Node.js + uses: actions/setup-node@v2 + + - name: Install dependencies + run: cd web && npm install + + - name: Run tests + run: cd web && npm run test - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v4.2.0 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: - flags: frontend \ No newline at end of file + flags: frontend