Skip to content

Commit

Permalink
(chore) Restore playwright browser install cache step and fix cache k…
Browse files Browse the repository at this point in the history
…ey issue
  • Loading branch information
denniskigen committed Nov 12, 2024
1 parent 8468c1c commit 5b9f614
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
key: ${{ runner.os }}-playwright-${{ hashFiles('e2e/**/*.ts') }}

- name: 🎭 Install Playwright Browsers
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: npx playwright install chromium --with-deps

- name: ⏳ Wait for the OpenMRS instance to start
Expand Down Expand Up @@ -177,7 +178,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('e2e_repo/**/*.ts') }}
key: ${{ runner.os }}-playwright-${{ hashFiles('e2e_repo/e2e/**/*.ts') }}

- name: 🎭 Install Playwright Browsers
if: steps.playwright-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 5b9f614

Please sign in to comment.