Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho committed Nov 28, 2024
1 parent cdc724e commit cf4198e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cf4198e

Please sign in to comment.