Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 25 additions & 6 deletions .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,31 @@ on:
workflow_dispatch:

jobs:
test:
name: Run Frontend Tests
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json

- name: Install dependencies
working-directory: frontend
run: npm ci

- name: Run Unit Tests
working-directory: frontend
run: npm run test

ui-tests:
name: UI Tests
runs-on: ubuntu-latest

steps:
Expand All @@ -44,10 +67,6 @@ jobs:
working-directory: frontend
run: npm ci

- name: Run Unit Tests
working-directory: frontend
run: npm run test

- name: Run UI Tests
run: python3 scripts/run_e2e.py
env:
Expand Down