mirror of
https://github.com/zen-browser/www
synced 2026-04-25 17:14:56 +02:00
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.
This commit is contained in:
14
.github/workflows/ci-pipeline.yml
vendored
14
.github/workflows/ci-pipeline.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user