diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a47021..a9115ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,17 +14,18 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - #- run: npm --prefix users/authservice ci - #- run: npm --prefix users/userservice ci - #- run: npm --prefix gatewayservice ci + - run: npm --prefix users/authservice ci + - run: npm --prefix users/userservice ci + - run: npm --prefix gatewayservice ci - run: npm --prefix questionservice ci - run: npm --prefix webapp ci - #- run: npm --prefix users/authservice test -- --coverage - #- run: npm --prefix users/userservice test -- --coverage - #- run: npm --prefix gatewayservice test -- --coverage - #- run: npm --prefix webapp test -- --coverage - #- name: Analyze with SonarCloud - # uses: sonarsource/sonarcloud-github-action@master + - run: npm --prefix users/authservice test -- --coverage + - run: npm --prefix users/userservice test -- --coverage + - run: npm --prefix gatewayservice test -- --coverage + - run: npm --prefix questionservice 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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a7f106..c338721 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: node-version: 20 - run: npm --prefix questionservice ci - run: npm --prefix webapp ci -# - run: npm --prefix webapp test -- --coverage + - run: npm --prefix webapp test -- --coverage - name: Analyze with SonarCloud uses: sonarsource/sonarcloud-github-action@master env: @@ -31,7 +31,7 @@ jobs: - run: npm --prefix questionservice install - run: npm --prefix webapp install - run: npm --prefix webapp run build -# - run: npm --prefix webapp run test:e2e + - run: npm --prefix webapp run test:e2e docker-push-webapp: name: Push webapp Docker Image to GitHub Packages runs-on: ubuntu-latest