File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
actions/install-playwright Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 44 browsers :
55 description : ' What browsers to install.'
66 default : ' chromium webkit firefox'
7+ cwd :
8+ description : ' The working directory to run Playwright in.'
9+ default : ' .'
710
811runs :
912 using : " composite"
@@ -26,11 +29,13 @@ runs:
2629 run : npx playwright install chromium webkit firefox --with-deps
2730 if : steps.playwright-cache.outputs.cache-hit != 'true'
2831 shell : bash
32+ working-directory : ${{ inputs.cwd }}
2933
3034 - name : Install Playwright system dependencies only (cached)
3135 run : npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }}
3236 if : steps.playwright-cache.outputs.cache-hit == 'true'
3337 shell : bash
38+ working-directory : ${{ inputs.cwd }}
3439
3540 # Only store cache on develop branch
3641 - name : Store cached playwright binaries
Original file line number Diff line number Diff line change @@ -944,7 +944,7 @@ jobs:
944944 uses : ./.github/actions/install-playwright
945945 with :
946946 browsers : chromium
947- working-directory : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
947+ cwd : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
948948
949949 - name : Run E2E test
950950 working-directory : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
@@ -1064,7 +1064,7 @@ jobs:
10641064 uses : ./.github/actions/install-playwright
10651065 with :
10661066 browsers : chromium
1067- working-directory : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
1067+ cwd : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
10681068
10691069 - name : Run E2E test
10701070 working-directory : dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
You can’t perform that action at this time.
0 commit comments