diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 46490d1..8d121b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,20 +25,20 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - # e2e-tests: - # needs: [unit-tests] - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - uses: actions/setup-node@v4 - # with: - # node-version: 20 - # - run: npm --prefix users/authservice install - # - run: npm --prefix users/userservice install - # - run: npm --prefix gatewayservice install - # - run: npm --prefix webapp install - # - run: CI=false npm --prefix webapp run build - # - run: CI=true npm --prefix webapp run test:e2e + e2e-tests: + needs: [unit-tests] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm --prefix users/authservice install + - run: npm --prefix users/userservice install + - run: npm --prefix gatewayservice install + - run: npm --prefix webapp install + - run: CI=false npm --prefix webapp run build + - run: CI=true npm --prefix webapp run test:e2e docker-push-webapp: name: Push webapp Docker Image to GitHub Packages @@ -46,8 +46,8 @@ jobs: permissions: contents: read packages: write - # needs: [e2e-tests] - needs: [unit-tests] + needs: [e2e-tests] + # needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Publish to Registry @@ -67,8 +67,8 @@ jobs: permissions: contents: read packages: write - # needs: [e2e-tests] - needs: [unit-tests] + needs: [e2e-tests] + # needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Publish to Registry @@ -85,8 +85,8 @@ jobs: permissions: contents: read packages: write - # needs: [e2e-tests] - needs: [unit-tests] + needs: [e2e-tests] + # needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Publish to Registry @@ -103,8 +103,8 @@ jobs: permissions: contents: read packages: write - # needs: [e2e-tests] - needs: [unit-tests] + needs: [e2e-tests] + # needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Publish to Registry @@ -121,8 +121,8 @@ jobs: permissions: contents: read packages: write - # needs: [e2e-tests] - needs: [unit-tests] + needs: [e2e-tests] + # needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Publish to Registry