Skip to content

Commit

Permalink
add docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
rshewitt committed Apr 22, 2024
1 parent 003939f commit b9d9c66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Dependencies
run: npm i
- name: Run App
run: npm run dev
run: docker compose up -d
- name: 'Cypress run'
uses: cypress-io/github-action@v5
build:
Expand Down
11 changes: 1 addition & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,4 @@ services:
- '3000:3000'
volumes:
- .:/app
- /app/node_modules
test:
image: cypress/included:13.7.1
entrypoint: []
command: /bin/bash -c "npx wait-on http://localhost/3000 && cypress run"
working_dir: /e2e
volumes:
- ./e2e:/e2e
depends_on:
- app
- /app/node_modules

0 comments on commit b9d9c66

Please sign in to comment.