Skip to content

add playwright test cases #28

add playwright test cases

add playwright test cases #28

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: "yarn"
- run: yarn install
- run: npx playwright install chromium
- name: Create .env file
run: |
echo "AUTH_SECRET=secrec777" >> apps/web/.env
echo "NEXTAUTH_URL=https://meetn-chat.vercel.app" >> apps/web/.env
- name: Print .env file
run: cat apps/web/.env
- name: Run Playwright tests
run: yarn run ci