Skip to content

Commit 5976df5

Browse files
committed
Improve CI scripts
1 parent 382850b commit 5976df5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ jobs:
3737

3838
- name: Cache Playwright browsers
3939
uses: actions/cache@v5
40+
id: playwright-cache
4041
with:
4142
path: ~/.cache/ms-playwright
4243
key: playwright-${{ steps.playwright-version.outputs.version }}
4344

4445
- name: Install Playwright browsers
46+
if: steps.playwright-cache.outputs.cache-hit != 'true'
4547
run: npx playwright install --with-deps
4648

4749
- name: Run tests

0 commit comments

Comments
 (0)