Skip to content

Commit

Permalink
chore: upgraded to cypress for before-push.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Sep 22, 2024
1 parent 6fe8e74 commit fb3d066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion before-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Sleeping 10 seconds for the application to start"
sleep 10
echo "Woke up, after 10 seconds, running tests now..."
docker compose run --rm -e CI=true json-tool npm run test
docker run --network=host --rm -e CYPRESS_BASE_URL=http://localhost:3000 -v $(pwd):/app -w /app cypress/included:12.1.0 npm run e2e
docker run --network=host --rm -e CYPRESS_BASE_URL=http://localhost:3000 -v $(pwd):/app -w /app cypress/included:13.14.1 npm run e2e
docker compose down --remove-orphans

docker compose run --rm json-tool rm -rf node_modules/ coverage/ build/

0 comments on commit fb3d066

Please sign in to comment.