Skip to content

Merge branch 'development' of https://github.com/hotosm/fmtm into dev… #31

Merge branch 'development' of https://github.com/hotosm/fmtm into dev…

Merge branch 'development' of https://github.com/hotosm/fmtm into dev… #31

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