Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Load and usability #427

Load and usability

Load and usability #427

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm --prefix userdetails_service ci
- run: npm --prefix question_service ci
- run: npm --prefix auth_service ci
- run: npm --prefix webapp ci
- run: npm --prefix game_service ci
- run: npm --prefix friends_service ci
- run: npm --prefix userdetails_service test -- --coverage
- run: npm --prefix question_service test -- --coverage
- run: npm --prefix auth_service test
- run: npm --prefix webapp test -- --coverage
- run: npm --prefix game_service test -- --coverage
- run: npm --prefix friends_service test -- --coverage
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}