File tree Expand file tree Collapse file tree 1 file changed +3
-28
lines changed
.github/actions/install-playwright Expand file tree Collapse file tree 1 file changed +3
-28
lines changed Original file line number Diff line number Diff line change 1717 shell : bash
1818 working-directory : ${{ inputs.cwd }}
1919
20-
21- - name : Restore cached playwright binaries
22- uses : actions/cache/restore@v4
23- id : playwright-cache
24- with :
25- path : |
26- ~/.cache/ms-playwright
27- key : playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
28-
29- # We always install all browsers, if uncached
30- - name : Install Playwright dependencies (uncached)
20+ # We always install all browsers
21+ - name : Install Playwright dependencies
3122 run : npx playwright install chromium webkit firefox
32- if : steps.playwright-cache.outputs.cache-hit != 'true'
3323 shell : bash
34- working-directory : ${{ inputs.cwd }}
35-
36- - name : Install Playwright system dependencies only (cached)
37- run : npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }}
38- if : steps.playwright-cache.outputs.cache-hit == 'true'
39- shell : bash
40- working-directory : ${{ inputs.cwd }}
41-
42- # Only store cache on develop branch
43- - name : Store cached playwright binaries
44- uses : actions/cache/save@v4
45- if : github.event_name == 'push' && github.ref == 'refs/heads/develop'
46- with :
47- path : |
48- ~/.cache/ms-playwright
49- key : playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
24+ working-directory : ${{ inputs.cwd }}
You can’t perform that action at this time.
0 commit comments