Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Merge pull request #159 from DigitalProductInnovationAndDevelopment/f… #48

Merge pull request #159 from DigitalProductInnovationAndDevelopment/f…

Merge pull request #159 from DigitalProductInnovationAndDevelopment/f… #48

Workflow file for this run

name: CLI Testing Pipeline
on:
push:
branches: [ development ]
pull_request:
branches: [ development ]
jobs:
test-backend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
cache-dependency-path: backend/package-lock.json
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
test-frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm install
- name: Run tests
# Pass --watchAll=false to prevent tests from running in interactive watch mode
run: npm test -- --watchAll=false