cache and restore cypress binary

This commit is contained in:
Elio Bischof
2023-06-16 02:10:08 +02:00
parent f053e0843f
commit 3f0f11649a

View File

@@ -58,6 +58,15 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-pnpm-store- ${{ runner.os }}-pnpm-store-
- uses: actions/cache@v3
name: Setup Cypress binary cache
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-cypress-binary-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-cypress-binary-
if: ${{ matrix.command }} == "test:integration"
- name: Install Dependencies - name: Install Dependencies
id: deps id: deps
run: pnpm install run: pnpm install