Skip to content

Commit 0c4a8f8

Browse files
committed
Resolve conflicts
2 parents 8f7d998 + b2a0969 commit 0c4a8f8

File tree

31 files changed

+5144
-989
lines changed

31 files changed

+5144
-989
lines changed

.github/workflows/collab.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Collaboration Service CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "backend/collaboration-service/**"
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- "backend/collaboration-service/**"
14+
15+
jobs:
16+
run-tests:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v3
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: "18.x"
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
working-directory: backend/collaboration-service
31+
32+
- name: Run Tests
33+
run: npm test
34+
working-directory: backend/collaboration-service

.github/workflows/frontend.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Frontend CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "frontend/**"
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- "frontend/**"
14+
15+
jobs:
16+
run-eslint:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v3
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: "18.x"
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
working-directory: frontend
31+
32+
- name: Run ESLint
33+
run: npm run lint
34+
working-directory: frontend

backend/collaboration-service/__tests__/controllers/collaborationController.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { createSession, handleMatchNotification } from '../../controllers/collab
55
import Session from '../../models/Session';
66
import { producer } from '../../utils/kafkaClient';
77
import { EachMessagePayload, KafkaMessage } from 'kafkajs';
8+
89

910
// Mock the kafka producer
1011
jest.mock('../../utils/kafkaClient', () => ({

0 commit comments

Comments
 (0)