Skip to content

[pull] main from tinacms:main #363

[pull] main from tinacms:main

[pull] main from tinacms:main #363

Workflow file for this run

name: e2e Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
playwright:
name: 'Playwright E2E on Tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
package_json_file: package.json
run_install: false
- name: Install dependencies
run: pnpm install
- name: Build root package
run: pnpm build
- name: Install playwright
working-directory: playwright/tina-playwright
run: npx playwright install
- name: Run Playwright tests
working-directory: playwright/tina-playwright
run: npx playwright test
- name: Playwright report summary
uses: daun/playwright-report-summary@v3
if: always()
with:
job-summary: true
report-file: playwright/tina-playwright/playwright-test-results.json
comment-title: 'Playwright E2E Test Results'