File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
.github/actions/install-playwright Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change 8
8
runs :
9
9
using : " composite"
10
10
steps :
11
- - name : Get Playwright version
12
- id : playwright-version
13
- run : echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT
14
- shell : bash
15
-
16
- - name : Cache playwright binaries
17
- uses : actions/cache@v4
18
- id : playwright-cache
19
- with :
20
- path : |
21
- ~/.cache/ms-playwright
22
- key : playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
23
-
24
- # We always install all browsers, if uncached
25
- - name : Install Playwright dependencies (uncached)
26
- run : npx playwright install chromium webkit firefox --with-deps
27
- if : steps.playwright-cache.outputs.cache-hit != 'true'
28
- shell : bash
29
-
30
- - name : Install Playwright system dependencies only (cached)
31
- run : npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }}
32
- if : steps.playwright-cache.outputs.cache-hit == 'true'
11
+ - name : Install Playwright dependencies
12
+ run : npx playwright install ${{ inputs.browsers || 'chromium webkit firefox' }} --with-deps
33
13
shell : bash
You can’t perform that action at this time.
0 commit comments