Skip to content

Commit 4ae6843

Browse files
committed
ci: add conditional step for Playwright cache
1 parent 1499673 commit 4ae6843

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@ jobs:
1818
- name: Install dependencies
1919
run: bun install
2020

21-
- name: Install Playwright binaries
21+
- name: Install Playwright without cache
2222
run: bun playwright install --with-deps
2323
if: steps.playwright-cache.outputs.cache-hit != 'true'
2424

25+
- name: Install Playwright with cache
26+
run: bun playwright install
27+
if: steps.playwright-cache.outputs.cache-hit == 'true'
28+
2529
- name: Build library
2630
run: bun build:lib
2731

0 commit comments

Comments
 (0)