diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index baacaad..9a24818 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -84,6 +84,9 @@ jobs: needs: [check_changes, build] if: ${{ needs.check_changes.outputs.exists == 'true' }} runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.52.0-jammy + options: --ipc=host --user pwuser steps: - uses: actions/checkout@v4 @@ -98,20 +101,18 @@ jobs: with: cache-suffix: playwright - - name: Cache Playwright Browsers - uses: actions/cache@v4 - with: - path: ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ hashFiles('**/bun.lock') }} - restore-keys: ${{ runner.os }}-playwright- - - - name: Install Playwright Browsers - run: bunx playwright install --with-deps - - name: Run Playwright Tests run: bunx turbo run test:playwright timeout-minutes: 10 + - name: Upload Playwright Report + uses: actions/upload-artifact@v4 + if: always() + with: + name: playwright-report + path: playwright-report/ + retention-days: 7 + verify: name: Verify needs: [check_changes, quality_checks, playwright] diff --git a/cspell.json b/cspell.json index 674e0f1..1f3b10d 100644 --- a/cspell.json +++ b/cspell.json @@ -53,6 +53,7 @@ "Otero", "patreon", "Pdzly", + "pwuser", "Ribaric", "securtiy", "taroj",