Skip to content

Ignore playwright tests related folders when runing jest #2

Ignore playwright tests related folders when runing jest

Ignore playwright tests related folders when runing jest #2

Workflow file for this run

name: Test on Push
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run linting
run: yarn lint
- name: Run tests
run: yarn test
- name: Check test coverage
run: yarn test:coverage
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30