mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
20 lines
596 B
YAML
20 lines
596 B
YAML
name: Install playwright binaries
|
|
description: 'Install playwright, cache and restore if necessary'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Cache playwright
|
|
id: cache-playwright
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: |
|
|
~/.cache/ms-playwright
|
|
${{ github.workspace }}/node_modules/playwright
|
|
key: playwright-${{ hashFiles('**/package-lock.json') }}
|
|
restore-keys: playwright-
|
|
|
|
- name: Install playwright
|
|
if: steps.cache-playwright.outputs.cache-hit != 'true'
|
|
run: npx playwright install --with-deps
|
|
shell: bash
|