Skip to content

Add playwright tests #52

Add playwright tests

Add playwright tests #52

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
##############################################################
jobs:
lints:
name: "Lints"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: wyvox/action@v1
- run: pnpm lint
e2e:
name: "E2E"
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: wyvox/action@v1
- name: Install Playwright browser
run: pnpm --filter docs-for-ember-astro exec playwright install --with-deps chromium
- name: Run e2e tests
run: pnpm --filter docs-for-ember-astro test:e2e
- name: Upload report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: docs/playwright-report/
retention-days: 7