From cf4198ebdb897449154fcc1f1cb03ffe3e87ad35 Mon Sep 17 00:00:00 2001 From: Mihovil Ilakovac Date: Thu, 28 Nov 2024 13:15:04 +0100 Subject: [PATCH] Update CI --- e2e-tests/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e-tests/package.json b/e2e-tests/package.json index 1c88b14..c684a11 100644 --- a/e2e-tests/package.json +++ b/e2e-tests/package.json @@ -8,8 +8,8 @@ }, "scripts": { "ci:e2e:start": "npm run ci:e2e:cleanup-db && node ci-start-app-and-db.js", - "ci:e2e:start-db": "cd ../app && wasp start db", - "ci:e2e:start-app": "npm run ci:e2e:wait-for-db && cd ../app && wasp db migrate-dev && cd ../e2e-tests && cd ../app && wasp start", + "ci:e2e:start-db": "cd ../ && wasp start db", + "ci:e2e:start-app": "npm run ci:e2e:wait-for-db && cd ../ && wasp db migrate-dev && wasp start", "ci:e2e:wait-for-db": "npx wait-port 5432", "_comment-on-ci:e2e:cleanup-db": "NOTE: the name of the DB container, e.g. name=^wasp-dev-db-e2eTestExample-, is generated by wasp and will match the name of the app definition in your `main.wasp` file, e.g. `app e2eTestExample { }`", "ci:e2e:cleanup-db": "(docker container rm $(docker container ls -f name=^wasp-dev-db-e2eTestExample- -q) -f || true) && docker volume rm $(docker volume ls -f name=^wasp-dev-db-e2eTestExample- -q) -f || true",