Skip to content

Commit

Permalink
ci: add conditional step for Playwright cache
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Sep 14, 2024
1 parent 1499673 commit 4ae6843
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ jobs:
- name: Install dependencies
run: bun install

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

- name: Install Playwright with cache
run: bun playwright install
if: steps.playwright-cache.outputs.cache-hit == 'true'

- name: Build library
run: bun build:lib

Expand Down

0 comments on commit 4ae6843

Please sign in to comment.