Skip to content

Commit

Permalink
Update cypress-e2e-test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
funtigr authored May 21, 2024
1 parent 41733b8 commit 2a31778
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cypress-e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:

- name: Run App build
run: |
npm install wait-on
npm run build
- name: Install Docker Compose v2
Expand All @@ -40,13 +39,13 @@ jobs:
~/.docker/cli-plugins/docker-compose -f docker-compose.yml -f docker-compose-ci.yml up -d
# ~/.docker/cli-plugins/docker-compose -f localdev/docker-compose.yml -f localdev/docker-compose-ci.yml up -d
docker-compose logs postgres
node_modules/bin/wait-on http://localhost:8080/health/ready --timeout 120000
../node_modules/.bin/wait-on http://localhost:8080/health/ready --timeout 120000
cp .env.example .env
- name: Run App
run: |
npm start &
node_modules/bin/wait-on http://localhost:3000 --timeout 120000
../node_modules/.bin/wait-on http://localhost:3000 --timeout 120000
- name: Test DB Availability
run: |
Expand Down

0 comments on commit 2a31778

Please sign in to comment.