Skip to content

CI=true

CI=true #14

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: |
CI=true npm run 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 ci
# npx playwright install --with-deps
# - name: Run playwright tests
# run: npx playwright test