@@ -15,13 +15,13 @@ runs:
1515 using : " composite"
1616
1717 steps :
18- - name : " Checkout target code"
18+ - name : Checkout target code
1919 uses : actions/checkout@v5
2020 with :
2121 ref : ${{ inputs.checkout_ref }}
2222 path : " code-for-e2e-tests"
2323
24- - name : " Cache node modules"
24+ - name : Cache node modules
2525 id : cache-npm
2626 uses : actions/cache@v4
2727 env :
@@ -30,15 +30,15 @@ runs:
3030 path : ~/.npm
3131 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./code-for-e2e-tests/**/package-lock.json') }}
3232
33- - name : " Install dependencies"
33+ - name : Install dependencies
3434 shell : bash
3535 working-directory : " ./code-for-e2e-tests"
3636 run : |
3737 echo "::group::Installing dependencies"
3838 npm ci --ignore-scripts
3939 echo "::endgroup::"
4040
41- - name : " Get current week number and playwright version"
41+ - name : Get current week number and playwright version
4242 shell : bash
4343 working-directory : " ./code-for-e2e-tests"
4444 id : cache_key_values
@@ -48,14 +48,14 @@ runs:
4848 echo "playwright_version=$(npm view @playwright/test version)" | tee -a $GITHUB_OUTPUT
4949 echo "::endgroup::"
5050
51- - name : " Cache Playwright browsers"
51+ - name : Cache Playwright browsers
5252 uses : actions/cache@v4
5353 id : playwright-cache
5454 with :
5555 path : ~/.cache/ms-playwright
5656 key : ${{ runner.os }}-playwright-${{ steps.cache_key_values.outputs.week_num }}-${{ steps.cache_key_values.outputs.playwright_version }}-${{ hashFiles('**/playwright.config*') }}
5757
58- - name : " Install Playwright browsers (Chromium, Firefox)"
58+ - name : Install Playwright browsers (Chromium, Firefox)
5959 if : ${{ steps.playwright-cache.outputs.cache-hit != 'true' }}
6060 shell : bash
6161 working-directory : " ./code-for-e2e-tests"
6464 npx playwright install chromium firefox --with-deps
6565 echo "::endgroup::"
6666
67- - name : " Install Playwright browsers (Webkit)"
67+ - name : Install Playwright browsers (Webkit)
6868 if : ${{ inputs.cross_browser == 'true' }}
6969 shell : bash
7070 working-directory : " ./code-for-e2e-tests"
7373 npx playwright install webkit --with-deps
7474 echo "::endgroup::"
7575
76- - name : " Run Playwright tests"
76+ - name : Run Playwright tests
7777 if : ${{ inputs.cross_browser == 'false' }}
7878 shell : bash
7979 working-directory : " ./code-for-e2e-tests"
8282 npm run e2e
8383 echo "::endgroup::"
8484
85- - name : " Run Playwright tests (cross browser)"
85+ - name : Run Playwright tests (cross browser)
8686 if : ${{ inputs.cross_browser == 'true' }}
8787 shell : bash
8888 working-directory : " ./code-for-e2e-tests"
9191 npm run e2e -- --config=playwright.config.cross-browser.ts
9292 echo "::endgroup::"
9393
94- - name : " Upload report"
94+ - name : Upload report
9595 uses : actions/upload-artifact@v5
9696 if : ${{ !cancelled() }}
9797 with :
0 commit comments