Skip to content

test(fe): add playwright tests #3

test(fe): add playwright tests

test(fe): add playwright tests #3

Workflow file for this run

name: PR Test
on:
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Create .env file
run: echo "${{ secrets.FRONT_END_ENV }}" > apps/client/.env
- name: Run tests
run: pnpm run test