Skip to content

Commit

Permalink
installing cypress binary before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tupsu-jy committed Jan 12, 2024
1 parent db7b369 commit 71bf6f5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v2

# Set up Docker Compose
- name: Set up Docker Compose
run: docker compose -f docker-compose.prod.yml up --build -d

# Cache Cypress binary
- name: Cache Cypress binary
uses: actions/cache@v2
Expand All @@ -31,6 +27,15 @@ jobs:
restore-keys: |
${{ runner.os }}-cypress-
# Set up Docker Compose
- name: Set up Docker Compose
run: docker compose -f docker-compose.prod.yml up --build -d

# Install Cypress Binary
- name: Install Cypress Binary
working-directory: ./e2e
run: npx cypress install

# Install Cypress Dependencies
- name: Install Cypress Dependencies
working-directory: ./e2e
Expand Down

0 comments on commit 71bf6f5

Please sign in to comment.