Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saratoga8 committed Oct 9, 2024
1 parent b5f0af4 commit de39bbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
- name: Check out repo
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set up Docker Compose
run: sudo apt-get update && sudo apt-get install docker-compose -y

- name: Build API image
run: |
cd src/api
Expand All @@ -30,12 +36,6 @@ jobs:
cd src/web
docker build . --file Dockerfile --tag web
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set up Docker Compose
run: sudo apt-get update && sudo apt-get install docker-compose -y

- name: Start all services
run: |
cd src/web
Expand All @@ -49,4 +49,6 @@ jobs:
npm run e2e
- name: Shut down and clean up
run: docker-compose down
run:
cd src/web
docker-compose down
2 changes: 1 addition & 1 deletion .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
run: |
cd src/web
npm i -D
npx playwright install
npx playwright install chromium --with-deps
npm run tests:mocked

0 comments on commit de39bbe

Please sign in to comment.