Skip to content

update: ci

update: ci #19

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- interview
jobs:
playwright-run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Install Playwright browsers
run: npx playwright install
- name: Run Playwright web tests
run: npx playwright test 1_Login.spec.ts -c playwright.web.config.ts
- name: Upload Playwright test report (optional)
if: always()
uses: actions/upload-artifact@v3
with:
name: playwright-report
path: playwright-report/