From 5d6508a306a9e53c808b3a0b44740cf551a650e8 Mon Sep 17 00:00:00 2001 From: taroj1205 Date: Fri, 16 May 2025 11:41:40 +1200 Subject: [PATCH] refactor(ci-pipeline): rename Playwright job to build and streamline CI steps - Consolidated Playwright job into a build job for clarity. - Removed Playwright browser installation and test execution steps to simplify the workflow. --- .github/workflows/ci-pipeline.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index f0f0ce89..f2ee2294 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -59,7 +59,7 @@ jobs: - name: Run Vitest tests run: npx vitest run - playwright: + build: runs-on: ubuntu-latest needs: setup steps: @@ -73,15 +73,5 @@ jobs: path: | node_modules key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - - name: Install Playwright Browsers - run: npx playwright install --with-deps - name: Build project - run: npm run build - - name: Run Playwright tests - run: npx playwright test - - uses: actions/upload-artifact@v4 - if: ${{ !cancelled() }} - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 + run: npm run build \ No newline at end of file