Skip to content

with deps

with deps #10

Workflow file for this run

name: Run Tests
on:
push:
branches:
- frontend-tests-GHA
jobs:
# vitests:
# runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: OCR/frontend
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '18'
# - name: Install dependencies
# run: npm install @rollup/rollup-linux-x64-gnu --save-optional
# - name: Run Jest tests
# run: npx playwright test
playwright-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: OCR/frontend
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: |
npm install @rollup/rollup-linux-x64-gnu --save-optional
npx playwright install --with-deps
- name: Run Jest tests
run: npx playwright test