Skip to content

Added id and Updated README.md #18

Added id and Updated README.md

Added id and Updated README.md #18

name: Run Frontend Playwright Test
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
test_playwright_frontend:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: Install dependencies
run: |
cd testing/playwright-testing
pnpm install
pnpm exec playwright install
- name: Run tests
run: |
cd testing/playwright-testing
npm run test:github