Streamline 'shadow-dom' directive #484
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Examples (Stable) | |
on: | |
push: | |
branches: | |
- main | |
- 'v[0-9]+.x' | |
pull_request: | |
branches: | |
- main | |
- 'v[0-9]+.x' | |
permissions: | |
contents: read | |
jobs: | |
e2e: | |
name: Run E2E Tests | |
timeout-minutes: 60 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
with: | |
node-version: '20' | |
- name: Compile Extension.js | |
run: pnpm compile | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run E2E Tests (headed under Xvfb) | |
run: xvfb-run -a pnpm test:e2e | |
env: | |
PLAYWRIGHT_HEADLESS: '0' | |
- name: Upload Test Report | |
if: ${{ !cancelled() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-report | |
path: e2e-report/ | |
retention-days: 15 |