Skip to content

Commit 0fe3dff

Browse files
committed
ci: boost playwright test
1 parent 85a582f commit 0fe3dff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/quality.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,15 @@ jobs:
4545
- name: Install
4646
uses: ./.github/composite-actions/install
4747

48+
- name: Cache Playwright Browsers
49+
uses: actions/cache@v4
50+
id: playwright-cache
51+
with:
52+
path: ~/.cache/ms-playwright
53+
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
54+
4855
- name: Install Playwright Browsers
56+
if: steps.playwright-cache.outputs.cache-hit != 'true'
4957
run: pnpm playwright install --with-deps
5058

5159
- name: Run tests

0 commit comments

Comments
 (0)