Skip to content

Commit

Permalink
caching cypress binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Tupsu-jy committed Jan 12, 2024
1 parent cd5a33d commit db7b369
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
- 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
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-cypress-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-cypress-
# Install Cypress Dependencies
- name: Install Cypress Dependencies
working-directory: ./e2e
Expand Down

0 comments on commit db7b369

Please sign in to comment.