diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9115ac..29e5ad2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,13 +14,13 @@ 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 userservice/authservice ci + - run: npm --prefix userservice/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 userservice/authservice test -- --coverage + - run: npm --prefix userservice/userservice test -- --coverage - run: npm --prefix gatewayservice test -- --coverage - run: npm --prefix questionservice test -- --coverage - run: npm --prefix webapp test -- --coverage diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c338721..802e7c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,14 +45,13 @@ jobs: uses: elgohr/Publish-Docker-Github-Action@v5 env: API_URI: http://${{ secrets.DEPLOY_HOST }}:8000 - REACT_APP_FIREBASE_KEY: ${{ secrets.REACT_APP_FIREBASE_KEY }} with: name: arquisoft/wiq_es05a/webapp username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} registry: ghcr.io workdir: webapp - buildargs: API_URI, REACT_APP_FIREBASE_KEY + buildargs: API_URI docker-push-questionservice: name: Push questionservice Docker Image to GitHub Packages runs-on: ubuntu-latest