Cache playwright

This commit is contained in:
SamTV12345 2024-08-08 22:39:39 +02:00
parent 9f2a48e944
commit 5b089211d4
3 changed files with 29 additions and 1 deletions

View file

@ -49,6 +49,13 @@ jobs:
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
- name: Only install direct dependencies
run: pnpm config set auto-install-peers false
#-