diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c037438..f4926f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: - run: npm --prefix users install - run: npm --prefix gatewayservice install - run: npm --prefix webapp install - - run: CI=false npm --prefix webapp run build + - run: CI=false npm --prefix webapp run build CI=true - run: npm --prefix webapp run test:e2e docker-push-webapp: name: Push webapp Docker Image to GitHub Packages diff --git a/webapp/e2e/test-environment-setup.js b/webapp/e2e/test-environment-setup.js index a43eabb..7dc5b79 100644 --- a/webapp/e2e/test-environment-setup.js +++ b/webapp/e2e/test-environment-setup.js @@ -2,8 +2,7 @@ const { MongoMemoryServer } = require('mongodb-memory-server'); let mongoserver; -let userservice; -let authservice; +let users; let wikidataservice; let gatewayservice; @@ -14,8 +13,7 @@ async function startServer() { process.env.MONGODB_URI = mongoUri; gatewayservice = await require("../../gatewayservice/gateway-service"); wikidataservice = await require("../../wikidataservice/index"); - authservice = await require("../../users/authservice/auth-service"); - userservice = await require("../../users/userservice/user-service"); + users = await require("../../users/index"); } startServer();