Skip to content

Merge pull request #805 from NSUWAL123/fix-explore-projects #111

Merge pull request #805 from NSUWAL123/fix-explore-projects

Merge pull request #805 from NSUWAL123/fix-explore-projects #111

Workflow file for this run

name: Frontend Tests
on:
push:
paths:
- "src/frontend/**" # Trigger the workflow only when files within srv/frontend change
- ".github/workflows/**" # Also trigger if github workflow changes
workflow_dispatch:
jobs:
test:
name: Run Frontend Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "18" # Change this to your preferred Node.js version
- name: Test Frontend Main
run: |
cd src/frontend/main
npm install
npm run test