Skip to content

Merge pull request #54 from brendantwh/collab #14

Merge pull request #54 from brendantwh/collab

Merge pull request #54 from brendantwh/collab #14

Workflow file for this run

name: CI Pipeline
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: '6.0'
- name: Install dependencies
working-directory: backend/question-service
run: npm ci
- name: Run Tests
working-directory: backend/question-service
run: npm run test-ci