From 2053d11da9d9c7088d45c507700c7af89adab719 Mon Sep 17 00:00:00 2001 From: lica200 Date: Tue, 30 Apr 2024 12:35:22 +0200 Subject: [PATCH] DC-#125: cd frontend --- .github/workflows/frontend.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index bb56be4..303b238 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -6,10 +6,17 @@ 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 frontend && npm install + + - name: Run tests + run: cd frontend && npm run test - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v4.2.0 env: