Skip to content

Add : added new files for more configuration and and updates on new p… #23

Add : added new files for more configuration and and updates on new p…

Add : added new files for more configuration and and updates on new p… #23

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
name: Run Code formatting , type checking & tests, Project Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: npm ci
working-directory: ./client
- name: Format code
run: npm run format:style
working-directory: ./client
- name: Run unit tests
run: npm run test
working-directory: ./client
- name: Build the project
run: npm run build --if-present
working-directory: ./client
- name: Install dependencies for backend
run: npm install --legacy-peer-deps
working-directory: ./backend
- name: Format code
run: npm run format:style
working-directory: ./backend
- name: Run unit tests using jest framwework
run: npm run test
working-directory: ./backend
- name: Build the project
run: npm run build
working-directory: ./backend