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

Merge pull request #73 from Arquisoft/fix-host-url #58

Merge pull request #73 from Arquisoft/fix-host-url

Merge pull request #73 from Arquisoft/fix-host-url #58

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 question_service ci
- run: npm --prefix auth_service ci
- run: npm --prefix webapp ci
- run: npm --prefix question_service test -- --coverage
- run: npm --prefix auth_service test -- --coverage
- run: npm --prefix webapp test -- --coverage
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}