Skip to content
Merged
Show file tree
Hide file tree
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
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Frontend Tests

# This workflow runs ONLY on pull requests to the main and develop branches
on:
pull_request:
branches: [ "main", "develop" ]

jobs:
frontend-tests:
name: Frontend Tests
runs-on: ubuntu-latest

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

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'

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

- name: Run frontend tests
run: npm test
working-directory: ./frontend
Loading