Skip to content

Commit

Permalink
cache cypress binary in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdabbs committed Dec 9, 2023
1 parent 0fa168f commit 4eb5f83
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,20 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-v1-
- uses: actions/cache@v3
name: Setup Cypress cache
with:
path: /github/home/.cache/Cypress
key: ${{ runner.os }}-cypress-v1-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-cypress-v1-
- name: Install dependencies
run: pnpm install

- name: Install cypress
run: cypress install

- name: Build core
working-directory: packages/core
run: pnpm build
Expand Down

0 comments on commit 4eb5f83

Please sign in to comment.